| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public static function build(): array |
||
| 13 | { |
||
| 14 | return |
||
| 15 | [ |
||
| 16 | 'name' => 'excelExport', |
||
| 17 | 'type' => Type::nonNull(Type::string()), |
||
| 18 | 'description' => 'URL to download the Excel listing', |
||
| 19 | 'resolve' => function ($root, array $args): string { |
||
|
2 ignored issues
–
show
|
|||
| 20 | return 'test'; |
||
| 21 | }, |
||
| 25 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.