Total Complexity | 6 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | class RetourType extends ObjectType |
||
29 | { |
||
30 | /** |
||
31 | * @inheritdoc |
||
32 | */ |
||
33 | public function __construct(array $config) |
||
34 | { |
||
35 | $config['interfaces'] = [ |
||
36 | RetourInterface::getType(), |
||
37 | ]; |
||
38 | |||
39 | parent::__construct($config); |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @inheritdoc |
||
44 | */ |
||
45 | protected function resolve(mixed $source, array $arguments, mixed $context, ResolveInfo $resolveInfo): mixed |
||
66 | } |
||
67 | } |
||
68 |