File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,22 +52,22 @@ public static function parse(ParserState $parserState): CSSString
52
52
$ parserState ->consume ($ quote );
53
53
}
54
54
$ result = '' ;
55
- $ sContent = null ;
55
+ $ content = null ;
56
56
if ($ quote === null ) {
57
57
// Unquoted strings end in whitespace or with braces, brackets, parentheses
58
58
while (\preg_match ('/[ \\s{}()<> \\[ \\]]/isu ' , $ parserState ->peek ()) !== 1 ) {
59
59
$ result .= $ parserState ->parseCharacter (false );
60
60
}
61
61
} else {
62
62
while (!$ parserState ->comes ($ quote )) {
63
- $ sContent = $ parserState ->parseCharacter (false );
64
- if ($ sContent === null ) {
63
+ $ content = $ parserState ->parseCharacter (false );
64
+ if ($ content === null ) {
65
65
throw new SourceException (
66
66
"Non-well-formed quoted string {$ parserState ->peek (3 )}" ,
67
67
$ parserState ->currentLine ()
68
68
);
69
69
}
70
- $ result .= $ sContent ;
70
+ $ result .= $ content ;
71
71
}
72
72
$ parserState ->consume ($ quote );
73
73
}
You can’t perform that action at this time.
0 commit comments