| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 59 | 7 | private static function getDefaultOptions() : array |
|
| 60 | { |
||
| 61 | return [ |
||
| 62 | 'whitelist' => function (RequestInterface $request) { |
||
|
|
|||
| 63 | 6 | return false; |
|
| 64 | 7 | }, |
|
| 65 | 7 | 'limitExceededHandler' => function (RequestInterface $request, ResponseInterface $response) { |
|
| 66 | 2 | return $response; |
|
| 67 | 7 | }, |
|
| 68 | ]; |
||
| 69 | } |
||
| 70 | } |
||
| 71 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.