Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | public function __construct(AbstractContainer $container, string $typeName, array $params) |
||
22 | { |
||
23 | assert($params[0] instanceof ObjectType); |
||
24 | |||
25 | $configuration = [ |
||
26 | 'name' => $typeName, |
||
27 | 'fields' => [ |
||
28 | 'node' => $params[0], |
||
29 | 'cursor' => Type::nonNull(Type::string()), |
||
30 | ], |
||
31 | ]; |
||
32 | |||
33 | parent::__construct($configuration); |
||
34 | } |
||
36 |