Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
59 | private static function getDefaultOptions() : array |
||
60 | { |
||
61 | return [ |
||
62 | 'whitelist' => function (RequestInterface $request) { |
||
|
|||
63 | return false; |
||
64 | }, |
||
65 | 'limitExceededHandler' => function (RequestInterface $request, ResponseInterface $response) { |
||
66 | return $response; |
||
67 | }, |
||
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.