Skip to content

Commit

Permalink
Fix method in function generation script
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed Mar 5, 2024
1 parent 28d47fa commit de8699b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generate-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function parse(Parser $parser): void
$lexer = $parser->getLexer();
<?php } ?>

if ($lexer->isNextTo(Lexer::T_COMMA)) {
if ($lexer->isNextToken(Lexer::T_COMMA)) {
$parser->match(Lexer::T_COMMA);
$this->expressions[] = $parser->ArithmeticFactor();
}
Expand Down

0 comments on commit de8699b

Please sign in to comment.