Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Parsing/ParserState.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public function parseCharacter($bIsForIdentifier)
* @throws UnexpectedEOFException
* @throws UnexpectedTokenException
*/
public function consumeWhiteSpace()
public function consumeWhiteSpace(): array
{
$aComments = [];
do {
Expand Down
2 changes: 1 addition & 1 deletion src/Property/CSSNamespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function atRuleName()
/**
* @return array<int, string>
*/
public function atRuleArgs()
public function atRuleArgs(): array
{
$aResult = [$this->mUrl];
if ($this->sPrefix) {
Expand Down
2 changes: 1 addition & 1 deletion src/Property/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function atRuleName()
/**
* @return array<int, URL|string>
*/
public function atRuleArgs()
public function atRuleArgs(): array
{
$aResult = [$this->oLocation];
if ($this->sMediaQuery) {
Expand Down
2 changes: 1 addition & 1 deletion src/Rule/Rule.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function setValues(array $aSpaceSeparatedValues)
* Old-Style 2-dimensional array returned. Retained for (some) backwards-compatibility.
* Use `getValue()` instead and check for the existence of a (nested set of) ValueList object(s).
*/
public function getValues()
public function getValues(): array
{
if (!$this->mValue instanceof RuleValueList) {
return [[$this->mValue]];
Expand Down