Skip to content

Commit 6d9656c

Browse files
authored
[CLEANUP] Avoid Hungarian notation in AtRuleSet (#997)
Part of #756
1 parent 00e23e9 commit 6d9656c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/RuleSet/AtRuleSet.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ class AtRuleSet extends RuleSet implements AtRule
1818
/**
1919
* @var string
2020
*/
21-
private $sType;
21+
private $type;
2222

2323
/**
2424
* @var string
2525
*/
2626
private $arguments;
2727

2828
/**
29-
* @param string $sType
29+
* @param string $type
3030
* @param string $arguments
3131
* @param int<0, max> $lineNumber
3232
*/
33-
public function __construct($sType, $arguments = '', $lineNumber = 0)
33+
public function __construct($type, $arguments = '', $lineNumber = 0)
3434
{
3535
parent::__construct($lineNumber);
36-
$this->sType = $sType;
36+
$this->type = $type;
3737
$this->arguments = $arguments;
3838
}
3939

@@ -42,7 +42,7 @@ public function __construct($sType, $arguments = '', $lineNumber = 0)
4242
*/
4343
public function atRuleName()
4444
{
45-
return $this->sType;
45+
return $this->type;
4646
}
4747

4848
/**
@@ -65,7 +65,7 @@ public function render(OutputFormat $outputFormat): string
6565
if ($arguments) {
6666
$arguments = ' ' . $arguments;
6767
}
68-
$result .= "@{$this->sType}$arguments{$outputFormat->spaceBeforeOpeningBrace()}{";
68+
$result .= "@{$this->type}$arguments{$outputFormat->spaceBeforeOpeningBrace()}{";
6969
$result .= $this->renderRules($outputFormat);
7070
$result .= '}';
7171
return $result;

0 commit comments

Comments
 (0)