Skip to content

Commit

Permalink
Merge pull request #106 from andreybolonin/patch-1
Browse files Browse the repository at this point in the history
Update Cast.php
  • Loading branch information
x86demon authored Jul 1, 2024
2 parents c8c1c0e + 3fbd541 commit cf002e0
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 cf002e0

Please sign in to comment.