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