Skip to content

Commit bc36e3e

Browse files
authored
Merge branch 'master' into patch-2
2 parents f07069e + fe69991 commit bc36e3e

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
@@ -408,7 +408,7 @@ private static function scalarAnnotationToGQLConfiguration(GraphClass $graphClas
408408
*/
409409
private static function enumAnnotationToGQLConfiguration(GraphClass $graphClass, GQL\Enum $enumAnnotation): array
410410
{
411-
$enumValues = $enumAnnotation->values ? $enumAnnotation->values : [];
411+
$enumValues = $enumAnnotation->values ?? [];
412412

413413
$values = [];
414414

0 commit comments

Comments
 (0)