@@ -68,7 +68,7 @@ public function getAllRuleSets(): array
68
68
/**
69
69
* Returns all `Value` objects found recursively in `Rule`s in the tree.
70
70
*
71
- * @param CSSList|RuleSet|string $mElement
71
+ * @param CSSList|RuleSet|string $element
72
72
* the `CSSList` or `RuleSet` to start the search from (defaults to the whole document).
73
73
* If a string is given, it is used as rule name filter.
74
74
* @param bool $bSearchInFunctionArguments whether to also return Value objects used as Function arguments.
@@ -77,18 +77,18 @@ public function getAllRuleSets(): array
77
77
*
78
78
* @see RuleSet->getRules()
79
79
*/
80
- public function getAllValues ($ mElement = null , $ bSearchInFunctionArguments = false ): array
80
+ public function getAllValues ($ element = null , $ bSearchInFunctionArguments = false ): array
81
81
{
82
82
$ 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 ;
88
88
}
89
89
/** @var array<int, Value> $aResult */
90
90
$ aResult = [];
91
- $ this ->allValues ($ mElement , $ aResult , $ sSearchString , $ bSearchInFunctionArguments );
91
+ $ this ->allValues ($ element , $ aResult , $ sSearchString , $ bSearchInFunctionArguments );
92
92
return $ aResult ;
93
93
}
94
94
0 commit comments