Skip to content

Commit 6940e96

Browse files
static analysis
1 parent 46069d2 commit 6940e96

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function parse(Parser $parser): void
4141

4242
$lexer = $parser->getLexer();
4343
$type = DoctrineLexer::getTokenValue($lexer);
44-
if ($type === null) {
44+
if (!\is_string($type)) {
4545
return;
4646
}
4747

0 commit comments

Comments
 (0)