Skip to content

Commit 734366b

Browse files
committed
Changes suggested in code review
1 parent 4326b82 commit 734366b

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
@@ -404,11 +404,11 @@ public function streql($string1, $string2, $caseInsensitive = true): bool
404404
}
405405

406406
/**
407-
* @param int $amount
407+
* @param int $numberOfCharacters
408408
*/
409-
public function backtrack($amount): void
409+
public function backtrack($numberOfCharacters): void
410410
{
411-
$this->currentPosition -= $amount;
411+
$this->currentPosition -= $numberOfCharacters;
412412
}
413413

414414
/**

0 commit comments

Comments
 (0)