From c6e539a10eab09845346f0b11d7b04ad5470f7f0 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 13 Feb 2025 10:36:28 +0100 Subject: [PATCH] [CLEANUP] Avoid Hungarian notation for `component` Part of #756 --- src/CSSList/CSSBlockList.php | 4 ++-- src/Value/ValueList.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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; } /**