@@ -27,12 +27,12 @@ class ParserState
2727 /**
2828 * @var string
2929 */
30- private $ sText ;
30+ private $ text ;
3131
3232 /**
3333 * @var array<int, string>
3434 */
35- private $ aText ;
35+ private $ characters ;
3636
3737 /**
3838 * @var int
@@ -57,13 +57,13 @@ class ParserState
5757 private $ lineNumber ;
5858
5959 /**
60- * @param string $sText the complete CSS as text (i.e., usually the contents of a CSS file)
60+ * @param string $text the complete CSS as text (i.e., usually the contents of a CSS file)
6161 * @param int<0, max> $lineNumber
6262 */
63- public function __construct ($ sText , Settings $ parserSettings , $ lineNumber = 1 )
63+ public function __construct ($ text , Settings $ parserSettings , $ lineNumber = 1 )
6464 {
6565 $ this ->parserSettings = $ parserSettings ;
66- $ this ->sText = $ sText ;
66+ $ this ->text = $ text ;
6767 $ this ->lineNumber = $ lineNumber ;
6868 $ this ->setCharset ($ this ->parserSettings ->sDefaultCharset );
6969 }
@@ -76,9 +76,9 @@ public function __construct($sText, Settings $parserSettings, $lineNumber = 1)
7676 public function setCharset ($ sCharset ): void
7777 {
7878 $ this ->sCharset = $ sCharset ;
79- $ this ->aText = $ this ->strsplit ($ this ->sText );
80- if (\is_array ($ this ->aText )) {
81- $ this ->iLength = \count ($ this ->aText );
79+ $ this ->characters = $ this ->strsplit ($ this ->text );
80+ if (\is_array ($ this ->characters )) {
81+ $ this ->iLength = \count ($ this ->characters );
8282 }
8383 }
8484
@@ -451,7 +451,7 @@ private function substr($iStart, $iLength): string
451451 }
452452 $ result = '' ;
453453 while ($ iLength > 0 ) {
454- $ result .= $ this ->aText [$ iStart ];
454+ $ result .= $ this ->characters [$ iStart ];
455455 $ iStart ++;
456456 $ iLength --;
457457 }
0 commit comments