Skip to content

Commit 337f861

Browse files
authored
[CLEANUP] Avoid Hungarian notation for maximumLength (#1122)
Part of #756
1 parent 5907d25 commit 337f861

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Parsing/ParserState.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,15 +286,15 @@ public function consume($value = 1): string
286286

287287
/**
288288
* @param string $expression
289-
* @param int|null $iMaxLength
289+
* @param int|null $maximumLength
290290
*
291291
* @throws UnexpectedEOFException
292292
* @throws UnexpectedTokenException
293293
*/
294-
public function consumeExpression($expression, $iMaxLength = null): string
294+
public function consumeExpression($expression, $maximumLength = null): string
295295
{
296296
$matches = null;
297-
$input = $iMaxLength !== null ? $this->peek($iMaxLength) : $this->inputLeft();
297+
$input = $maximumLength !== null ? $this->peek($maximumLength) : $this->inputLeft();
298298
if (\preg_match($expression, $input, $matches, PREG_OFFSET_CAPTURE) === 1) {
299299
return $this->consume($matches[0][0]);
300300
}

0 commit comments

Comments
 (0)