diff --git a/src/CSSList/AtRuleBlockList.php b/src/CSSList/AtRuleBlockList.php index db472c29..2fe8a98d 100644 --- a/src/CSSList/AtRuleBlockList.php +++ b/src/CSSList/AtRuleBlockList.php @@ -20,7 +20,7 @@ class AtRuleBlockList extends CSSBlockList implements AtRule /** * @var string */ - private $sArgs; + private $arguments; /** * @param string $type @@ -31,7 +31,7 @@ public function __construct($type, $arguments = '', $lineNumber = 0) { parent::__construct($lineNumber); $this->type = $type; - $this->sArgs = $arguments; + $this->arguments = $arguments; } /** @@ -47,7 +47,7 @@ public function atRuleName() */ public function atRuleArgs() { - return $this->sArgs; + return $this->arguments; } public function __toString(): string @@ -59,11 +59,11 @@ public function render(OutputFormat $outputFormat): string { $sResult = $outputFormat->comments($this); $sResult .= $outputFormat->sBeforeAtRuleBlock; - $sArgs = $this->sArgs; - if ($sArgs) { - $sArgs = ' ' . $sArgs; + $arguments = $this->arguments; + if ($arguments) { + $arguments = ' ' . $arguments; } - $sResult .= "@{$this->type}$sArgs{$outputFormat->spaceBeforeOpeningBrace()}{"; + $sResult .= "@{$this->type}$arguments{$outputFormat->spaceBeforeOpeningBrace()}{"; $sResult .= $this->renderListContents($outputFormat); $sResult .= '}'; $sResult .= $outputFormat->sAfterAtRuleBlock; diff --git a/src/RuleSet/AtRuleSet.php b/src/RuleSet/AtRuleSet.php index a56fe7c4..0891d6bd 100644 --- a/src/RuleSet/AtRuleSet.php +++ b/src/RuleSet/AtRuleSet.php @@ -23,18 +23,18 @@ class AtRuleSet extends RuleSet implements AtRule /** * @var string */ - private $sArgs; + private $arguments; /** * @param string $sType - * @param string $sArgs + * @param string $arguments * @param int<0, max> $lineNumber */ - public function __construct($sType, $sArgs = '', $lineNumber = 0) + public function __construct($sType, $arguments = '', $lineNumber = 0) { parent::__construct($lineNumber); $this->sType = $sType; - $this->sArgs = $sArgs; + $this->arguments = $arguments; } /** @@ -50,7 +50,7 @@ public function atRuleName() */ public function atRuleArgs() { - return $this->sArgs; + return $this->arguments; } public function __toString(): string @@ -61,11 +61,11 @@ public function __toString(): string public function render(OutputFormat $outputFormat): string { $sResult = $outputFormat->comments($this); - $sArgs = $this->sArgs; - if ($sArgs) { - $sArgs = ' ' . $sArgs; + $arguments = $this->arguments; + if ($arguments) { + $arguments = ' ' . $arguments; } - $sResult .= "@{$this->sType}$sArgs{$outputFormat->spaceBeforeOpeningBrace()}{"; + $sResult .= "@{$this->sType}$arguments{$outputFormat->spaceBeforeOpeningBrace()}{"; $sResult .= $this->renderRules($outputFormat); $sResult .= '}'; return $sResult;