diff --git a/src/CSSList/Document.php b/src/CSSList/Document.php index 7414fe3d..8f9426cf 100644 --- a/src/CSSList/Document.php +++ b/src/CSSList/Document.php @@ -42,7 +42,7 @@ public static function parse(ParserState $oParserState): Document * * @return array */ - public function getAllDeclarationBlocks() + public function getAllDeclarationBlocks(): array { /** @var array $aResult */ $aResult = []; @@ -55,7 +55,7 @@ public function getAllDeclarationBlocks() * * @return array */ - public function getAllRuleSets() + public function getAllRuleSets(): array { /** @var array $aResult */ $aResult = []; @@ -75,7 +75,7 @@ public function getAllRuleSets() * * @see RuleSet->getRules() */ - public function getAllValues($mElement = null, $bSearchInFunctionArguments = false) + public function getAllValues($mElement = null, $bSearchInFunctionArguments = false): array { $sSearchString = null; if ($mElement === null) { @@ -103,7 +103,7 @@ public function getAllValues($mElement = null, $bSearchInFunctionArguments = fal * @return array * @example `getSelectorsBySpecificity('>= 100')` */ - public function getSelectorsBySpecificity($sSpecificitySearch = null) + public function getSelectorsBySpecificity($sSpecificitySearch = null): array { /** @var array $aResult */ $aResult = [];