| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class ExampleAbstractUnionType extends AbstractUnionType implements ResolveTypeAwareInterface |
||
| 12 | { |
||
| 13 | protected string $name = 'ExampleAbstractUnionType'; |
||
| 14 | |||
| 15 | protected iterable $types = [ |
||
| 16 | User::class, |
||
| 17 | 'pet', |
||
| 18 | ]; |
||
| 19 | |||
| 20 | public static function resolveType(mixed $value, mixed $context, Webonyx\ResolveInfo $info): ?string |
||
| 33 |