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