From b3fb3224940e0132225da16ef66748498727f9df Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Tue, 25 Feb 2025 12:00:57 +0100 Subject: [PATCH] [CLEANUP] Avoid Hungarian notation in `AtRuleSet` Part of #756 --- src/RuleSet/AtRuleSet.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/RuleSet/AtRuleSet.php b/src/RuleSet/AtRuleSet.php index 601198d6..a1e2ddb7 100644 --- a/src/RuleSet/AtRuleSet.php +++ b/src/RuleSet/AtRuleSet.php @@ -18,7 +18,7 @@ class AtRuleSet extends RuleSet implements AtRule /** * @var string */ - private $sType; + private $type; /** * @var string @@ -26,14 +26,14 @@ class AtRuleSet extends RuleSet implements AtRule private $arguments; /** - * @param string $sType + * @param string $type * @param string $arguments * @param int<0, max> $lineNumber */ - public function __construct($sType, $arguments = '', $lineNumber = 0) + public function __construct($type, $arguments = '', $lineNumber = 0) { parent::__construct($lineNumber); - $this->sType = $sType; + $this->type = $type; $this->arguments = $arguments; } @@ -42,7 +42,7 @@ public function __construct($sType, $arguments = '', $lineNumber = 0) */ public function atRuleName() { - return $this->sType; + return $this->type; } /** @@ -65,7 +65,7 @@ public function render(OutputFormat $outputFormat): string if ($arguments) { $arguments = ' ' . $arguments; } - $result .= "@{$this->sType}$arguments{$outputFormat->spaceBeforeOpeningBrace()}{"; + $result .= "@{$this->type}$arguments{$outputFormat->spaceBeforeOpeningBrace()}{"; $result .= $this->renderRules($outputFormat); $result .= '}'; return $result;