Skip to content

Commit

Permalink
Update Cast.php
Browse files Browse the repository at this point in the history
  • Loading branch information
andreybolonin authored Jun 24, 2024
1 parent c8c1c0e commit 3fbd541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Oro/ORM/Query/AST/Functions/Cast.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function parse(Parser $parser)

$parser->match(Lexer::T_IDENTIFIER);
$lexer = $parser->getLexer();
$type = $lexer->token['value'];
$type = $lexer->token->value;

if ($lexer->isNextToken(Lexer::T_OPEN_PARENTHESIS)) {
$parser->match(Lexer::T_OPEN_PARENTHESIS);
Expand Down

0 comments on commit 3fbd541

Please sign in to comment.