Skip to content

Commit 7e4ba88

Browse files
authored
Update Union
`@GQL\Union(types)` isn't required anymore as the `types` can be auto-guessed.
1 parent 00f2a75 commit 7e4ba88

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Annotation/Union.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ final class Union implements Annotation
2222
/**
2323
* Union types.
2424
*
25-
* @Required
26-
*
2725
* @var array<string>
2826
*/
2927
public array $types;

0 commit comments

Comments
 (0)