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