Skip to content

Commit e2661fb

Browse files
committed
Plain null check
1 parent 7c6be8c commit e2661fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config/Parser/AnnotationParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ private static function getGraphQLInputFieldsFromAnnotations(GraphClass $graphCl
626626
$fieldAnnotation = self::getFirstAnnotationMatching($annotations, GQL\Field::class);
627627

628628
// No field annotation found
629-
if (!$fieldAnnotation) {
629+
if (null === $fieldAnnotation) {
630630
continue;
631631
}
632632

0 commit comments

Comments
 (0)