Skip to content

Commit 7a59339

Browse files
authored
[CLEANUP] Avoid Hungarian notation for content (#1082)
Part of #756
1 parent 13a118a commit 7a59339

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Value/CSSString.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,22 @@ public static function parse(ParserState $parserState): CSSString
5252
$parserState->consume($quote);
5353
}
5454
$result = '';
55-
$sContent = null;
55+
$content = null;
5656
if ($quote === null) {
5757
// Unquoted strings end in whitespace or with braces, brackets, parentheses
5858
while (\preg_match('/[\\s{}()<>\\[\\]]/isu', $parserState->peek()) !== 1) {
5959
$result .= $parserState->parseCharacter(false);
6060
}
6161
} else {
6262
while (!$parserState->comes($quote)) {
63-
$sContent = $parserState->parseCharacter(false);
64-
if ($sContent === null) {
63+
$content = $parserState->parseCharacter(false);
64+
if ($content === null) {
6565
throw new SourceException(
6666
"Non-well-formed quoted string {$parserState->peek(3)}",
6767
$parserState->currentLine()
6868
);
6969
}
70-
$result .= $sContent;
70+
$result .= $content;
7171
}
7272
$parserState->consume($quote);
7373
}

0 commit comments

Comments
 (0)