diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aea5b3a..b39384b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,7 +27,7 @@ Please also have a look at our - Make all non-private properties `@internal` (#886) - Use more native type declarations and strict mode (#641, #772, #774, #778, #804, #841, #873, #875, #891, #922, #923, #933, #958, - #964, #967) + #964, #967, #1000) - Add visibility to all class/interface constants (#469) ### Deprecated diff --git a/src/CSSList/AtRuleBlockList.php b/src/CSSList/AtRuleBlockList.php index 3266b828..8ced1a97 100644 --- a/src/CSSList/AtRuleBlockList.php +++ b/src/CSSList/AtRuleBlockList.php @@ -23,29 +23,21 @@ class AtRuleBlockList extends CSSBlockList implements AtRule private $arguments; /** - * @param string $type - * @param string $arguments * @param int<0, max> $lineNumber */ - public function __construct($type, $arguments = '', $lineNumber = 0) + public function __construct(string $type, string $arguments = '', int $lineNumber = 0) { parent::__construct($lineNumber); $this->type = $type; $this->arguments = $arguments; } - /** - * @return string - */ - public function atRuleName() + public function atRuleName(): string { return $this->type; } - /** - * @return string - */ - public function atRuleArgs() + public function atRuleArgs(): string { return $this->arguments; }