diff --git a/src/Value/CSSString.php b/src/Value/CSSString.php index 162980d7..117bd90f 100644 --- a/src/Value/CSSString.php +++ b/src/Value/CSSString.php @@ -52,7 +52,7 @@ public static function parse(ParserState $parserState): CSSString $parserState->consume($quote); } $result = ''; - $sContent = null; + $content = null; if ($quote === null) { // Unquoted strings end in whitespace or with braces, brackets, parentheses while (\preg_match('/[\\s{}()<>\\[\\]]/isu', $parserState->peek()) !== 1) { @@ -60,14 +60,14 @@ public static function parse(ParserState $parserState): CSSString } } else { while (!$parserState->comes($quote)) { - $sContent = $parserState->parseCharacter(false); - if ($sContent === null) { + $content = $parserState->parseCharacter(false); + if ($content === null) { throw new SourceException( "Non-well-formed quoted string {$parserState->peek(3)}", $parserState->currentLine() ); } - $result .= $sContent; + $result .= $content; } $parserState->consume($quote); }