We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f07069e + fe69991 commit bc36e3eCopy full SHA for bc36e3e
src/Config/Parser/AnnotationParser.php
@@ -408,7 +408,7 @@ private static function scalarAnnotationToGQLConfiguration(GraphClass $graphClas
408
*/
409
private static function enumAnnotationToGQLConfiguration(GraphClass $graphClass, GQL\Enum $enumAnnotation): array
410
{
411
- $enumValues = $enumAnnotation->values ? $enumAnnotation->values : [];
+ $enumValues = $enumAnnotation->values ?? [];
412
413
$values = [];
414
0 commit comments