Skip to content

Commit e6ce845

Browse files
authored
[CLEANUP] Avoid Hungarian notation for consumedText (#1033)
Part of #756
1 parent c785369 commit e6ce845

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RuleSet/RuleSet.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ public static function parseRuleSet(ParserState $parserState, RuleSet $ruleSet):
6969
$rule = Rule::parse($parserState);
7070
} catch (UnexpectedTokenException $e) {
7171
try {
72-
$sConsume = $parserState->consumeUntil(["\n", ';', '}'], true);
72+
$consumedText = $parserState->consumeUntil(["\n", ';', '}'], true);
7373
// We need to “unfind” the matches to the end of the ruleSet as this will be matched later
74-
if ($parserState->streql(\substr($sConsume, -1), '}')) {
74+
if ($parserState->streql(\substr($consumedText, -1), '}')) {
7575
$parserState->backtrack(1);
7676
} else {
7777
while ($parserState->comes(';')) {

0 commit comments

Comments
 (0)