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.
1 parent 09d8ad8 commit eb5f1dbCopy full SHA for eb5f1db
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