Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
21 | 20 | final protected function getConfiguration(Types $types, LeafType $leafType): array |
|
22 | { |
||
23 | return [ |
||
24 | 20 | 'fields' => [ |
|
25 | [ |
||
26 | 20 | 'name' => 'value', |
|
27 | 20 | 'type' => Type::nonNull($leafType), |
|
28 | ], |
||
29 | [ |
||
30 | 20 | 'name' => 'not', |
|
31 | 20 | 'type' => Type::boolean(), |
|
32 | 'defaultValue' => false, |
||
33 | ], |
||
46 |