Skip to content

Commit b226bb4

Browse files
authored
[CLEANUP] Avoid Hungarian notation for input (#1116)
Part of #756
1 parent 1229b3b commit b226bb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Parsing/ParserState.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ public function consume($value = 1): string
294294
public function consumeExpression($mExpression, $iMaxLength = null): string
295295
{
296296
$matches = null;
297-
$sInput = $iMaxLength !== null ? $this->peek($iMaxLength) : $this->inputLeft();
298-
if (\preg_match($mExpression, $sInput, $matches, PREG_OFFSET_CAPTURE) === 1) {
297+
$input = $iMaxLength !== null ? $this->peek($iMaxLength) : $this->inputLeft();
298+
if (\preg_match($mExpression, $input, $matches, PREG_OFFSET_CAPTURE) === 1) {
299299
return $this->consume($matches[0][0]);
300300
}
301301
throw new UnexpectedTokenException($mExpression, $this->peek(5), 'expression', $this->lineNumber);

0 commit comments

Comments
 (0)