@@ -21,7 +21,7 @@ class Charset implements AtRule
2121 /**
2222 * @var CSSString
2323 */
24- private $ oCharset ;
24+ private $ charset ;
2525
2626 /**
2727 * @var int<0, max>
@@ -40,9 +40,9 @@ class Charset implements AtRule
4040 /**
4141 * @param int<0, max> $lineNumber
4242 */
43- public function __construct (CSSString $ oCharset , $ lineNumber = 0 )
43+ public function __construct (CSSString $ charset , $ lineNumber = 0 )
4444 {
45- $ this ->oCharset = $ oCharset ;
45+ $ this ->charset = $ charset ;
4646 $ this ->lineNumber = $ lineNumber ;
4747 }
4848
@@ -60,15 +60,15 @@ public function getLineNo(): int
6060 public function setCharset ($ charset ): void
6161 {
6262 $ charset = $ charset instanceof CSSString ? $ charset : new CSSString ($ charset );
63- $ this ->oCharset = $ charset ;
63+ $ this ->charset = $ charset ;
6464 }
6565
6666 /**
6767 * @return string
6868 */
6969 public function getCharset ()
7070 {
71- return $ this ->oCharset ->getString ();
71+ return $ this ->charset ->getString ();
7272 }
7373
7474 public function __toString (): string
@@ -78,7 +78,7 @@ public function __toString(): string
7878
7979 public function render (OutputFormat $ outputFormat ): string
8080 {
81- return "{$ outputFormat ->comments ($ this )}@charset {$ this ->oCharset ->render ($ outputFormat )}; " ;
81+ return "{$ outputFormat ->comments ($ this )}@charset {$ this ->charset ->render ($ outputFormat )}; " ;
8282 }
8383
8484 public function atRuleName (): string
@@ -91,7 +91,7 @@ public function atRuleName(): string
9191 */
9292 public function atRuleArgs ()
9393 {
94- return $ this ->oCharset ;
94+ return $ this ->charset ;
9595 }
9696
9797 /**
0 commit comments