Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function testCreation() |
||
21 | { |
||
22 | $mutation = RelayMutation::buildMutation('ship', [ |
||
23 | 'name' => new StringType() |
||
24 | ],[ |
||
25 | 'id' => new IdType(), |
||
26 | 'name' => new StringType() |
||
27 | ], function($source, $args, $info) { |
||
28 | |||
29 | }); |
||
30 | $this->assertEquals('ship', $mutation->getName()); |
||
31 | } |
||
32 | |||
45 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.