mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 18:34:32 +02:00
Fixed type of token object is now a property instead of array value in Field2
This commit is contained in:
parent
0d445b6a21
commit
bd640c19a4
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class Field2 extends FunctionNode
|
||||||
$lexer = $parser->getLexer();
|
$lexer = $parser->getLexer();
|
||||||
|
|
||||||
while (count($this->values) < 1 ||
|
while (count($this->values) < 1 ||
|
||||||
$lexer->lookahead['type'] != TokenType::T_CLOSE_PARENTHESIS) {
|
$lexer->lookahead->type !== TokenType::T_CLOSE_PARENTHESIS) {
|
||||||
$parser->match(TokenType::T_COMMA);
|
$parser->match(TokenType::T_COMMA);
|
||||||
$this->values[] = $parser->ArithmeticPrimary();
|
$this->values[] = $parser->ArithmeticPrimary();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue