Skip to content

Commit 915b094

Browse files
authored
[CLEANUP] Avoid Hungarian notation for component (#917)
Part of #756
1 parent 7c5de87 commit 915b094

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/CSSList/CSSBlockList.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ protected function allValues(
8080
$this->allValues($element->getValue(), $result, $searchString, $searchInFunctionArguments);
8181
} elseif ($element instanceof ValueList) {
8282
if ($searchInFunctionArguments || !($element instanceof CSSFunction)) {
83-
foreach ($element->getListComponents() as $mComponent) {
84-
$this->allValues($mComponent, $result, $searchString, $searchInFunctionArguments);
83+
foreach ($element->getListComponents() as $component) {
84+
$this->allValues($component, $result, $searchString, $searchInFunctionArguments);
8585
}
8686
}
8787
} else {

src/Value/ValueList.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ public function __construct($aComponents = [], $sSeparator = ',', $lineNumber =
4444
}
4545

4646
/**
47-
* @param Value|string $mComponent
47+
* @param Value|string $component
4848
*/
49-
public function addListComponent($mComponent): void
49+
public function addListComponent($component): void
5050
{
51-
$this->aComponents[] = $mComponent;
51+
$this->aComponents[] = $component;
5252
}
5353

5454
/**

0 commit comments

Comments
 (0)