@@ -68,7 +68,7 @@ public function getAllRuleSets(): array
6868 /**
6969 * Returns all `Value` objects found recursively in `Rule`s in the tree.
7070 *
71- * @param CSSList|RuleSet|string $mElement
71+ * @param CSSList|RuleSet|string $element
7272 * the `CSSList` or `RuleSet` to start the search from (defaults to the whole document).
7373 * If a string is given, it is used as rule name filter.
7474 * @param bool $bSearchInFunctionArguments whether to also return Value objects used as Function arguments.
@@ -77,18 +77,18 @@ public function getAllRuleSets(): array
7777 *
7878 * @see RuleSet->getRules()
7979 */
80- public function getAllValues ($ mElement = null , $ bSearchInFunctionArguments = false ): array
80+ public function getAllValues ($ element = null , $ bSearchInFunctionArguments = false ): array
8181 {
8282 $ sSearchString = null ;
83- if ($ mElement === null ) {
84- $ mElement = $ this ;
85- } elseif (\is_string ($ mElement )) {
86- $ sSearchString = $ mElement ;
87- $ mElement = $ this ;
83+ if ($ element === null ) {
84+ $ element = $ this ;
85+ } elseif (\is_string ($ element )) {
86+ $ sSearchString = $ element ;
87+ $ element = $ this ;
8888 }
8989 /** @var array<int, Value> $aResult */
9090 $ aResult = [];
91- $ this ->allValues ($ mElement , $ aResult , $ sSearchString , $ bSearchInFunctionArguments );
91+ $ this ->allValues ($ element , $ aResult , $ sSearchString , $ bSearchInFunctionArguments );
9292 return $ aResult ;
9393 }
9494
0 commit comments