Skip to content

Commit 9998f18

Browse files
authored
[CLEANUP] Avoid Hungarian notation for expression (#1119)
Part of #756
1 parent 4435934 commit 9998f18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Parsing/ParserState.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,20 +285,20 @@ public function consume($value = 1): string
285285
}
286286

287287
/**
288-
* @param string $mExpression
288+
* @param string $expression
289289
* @param int|null $iMaxLength
290290
*
291291
* @throws UnexpectedEOFException
292292
* @throws UnexpectedTokenException
293293
*/
294-
public function consumeExpression($mExpression, $iMaxLength = null): string
294+
public function consumeExpression($expression, $iMaxLength = null): string
295295
{
296296
$matches = null;
297297
$input = $iMaxLength !== null ? $this->peek($iMaxLength) : $this->inputLeft();
298-
if (\preg_match($mExpression, $input, $matches, PREG_OFFSET_CAPTURE) === 1) {
298+
if (\preg_match($expression, $input, $matches, PREG_OFFSET_CAPTURE) === 1) {
299299
return $this->consume($matches[0][0]);
300300
}
301-
throw new UnexpectedTokenException($mExpression, $this->peek(5), 'expression', $this->lineNumber);
301+
throw new UnexpectedTokenException($expression, $this->peek(5), 'expression', $this->lineNumber);
302302
}
303303

304304
/**

0 commit comments

Comments
 (0)