Skip to content

Commit 8273d19

Browse files
no message
1 parent 6d3712a commit 8273d19

File tree

1 file changed

+2
-0
lines changed
  • src/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions

1 file changed

+2
-0
lines changed

src/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/Cast.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,13 @@ public function parse(Parser $parser): void
6767
$nextTokenValue = DoctrineLexer::getLookaheadValue($lexer);
6868
if ($nextTokenValue === '[') {
6969
// Consume the '[' token
70+
/** @phpstan-ignore-next-line */
7071
$parser->match($shouldUseLexer ? Lexer::T_NONE : TokenType::T_NONE);
7172

7273
// Check for the closing ']' token
7374
$nextTokenValue = DoctrineLexer::getLookaheadValue($lexer);
7475
if ($nextTokenValue === ']') {
76+
/** @phpstan-ignore-next-line */
7577
$parser->match($shouldUseLexer ? Lexer::T_NONE : TokenType::T_NONE);
7678
$type .= '[]';
7779
}

0 commit comments

Comments
 (0)