@@ -42,7 +42,7 @@ public static function parse(ParserState $oParserState): Document
42
42
*
43
43
* @return array<int, DeclarationBlock>
44
44
*/
45
- public function getAllDeclarationBlocks ()
45
+ public function getAllDeclarationBlocks (): array
46
46
{
47
47
/** @var array<int, DeclarationBlock> $aResult */
48
48
$ aResult = [];
@@ -55,7 +55,7 @@ public function getAllDeclarationBlocks()
55
55
*
56
56
* @return array<int, RuleSet>
57
57
*/
58
- public function getAllRuleSets ()
58
+ public function getAllRuleSets (): array
59
59
{
60
60
/** @var array<int, RuleSet> $aResult */
61
61
$ aResult = [];
@@ -75,7 +75,7 @@ public function getAllRuleSets()
75
75
*
76
76
* @see RuleSet->getRules()
77
77
*/
78
- public function getAllValues ($ mElement = null , $ bSearchInFunctionArguments = false )
78
+ public function getAllValues ($ mElement = null , $ bSearchInFunctionArguments = false ): array
79
79
{
80
80
$ sSearchString = null ;
81
81
if ($ mElement === null ) {
@@ -103,7 +103,7 @@ public function getAllValues($mElement = null, $bSearchInFunctionArguments = fal
103
103
* @return array<int, Selector>
104
104
* @example `getSelectorsBySpecificity('>= 100')`
105
105
*/
106
- public function getSelectorsBySpecificity ($ sSpecificitySearch = null )
106
+ public function getSelectorsBySpecificity ($ sSpecificitySearch = null ): array
107
107
{
108
108
/** @var array<int, Selector> $aResult */
109
109
$ aResult = [];
0 commit comments