diff --git a/src/CSSList/CSSBlockList.php b/src/CSSList/CSSBlockList.php index 3ccab5a1c..bb5ff83ae 100644 --- a/src/CSSList/CSSBlockList.php +++ b/src/CSSList/CSSBlockList.php @@ -80,8 +80,8 @@ protected function allValues( $this->allValues($element->getValue(), $result, $searchString, $searchInFunctionArguments); } elseif ($element instanceof ValueList) { if ($searchInFunctionArguments || !($element instanceof CSSFunction)) { - foreach ($element->getListComponents() as $mComponent) { - $this->allValues($mComponent, $result, $searchString, $searchInFunctionArguments); + foreach ($element->getListComponents() as $component) { + $this->allValues($component, $result, $searchString, $searchInFunctionArguments); } } } else { diff --git a/src/Value/ValueList.php b/src/Value/ValueList.php index c9739d1d3..28c303683 100644 --- a/src/Value/ValueList.php +++ b/src/Value/ValueList.php @@ -44,11 +44,11 @@ public function __construct($aComponents = [], $sSeparator = ',', $lineNumber = } /** - * @param Value|string $mComponent + * @param Value|string $component */ - public function addListComponent($mComponent): void + public function addListComponent($component): void { - $this->aComponents[] = $mComponent; + $this->aComponents[] = $component; } /**