Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | 3 | protected function generateResponse(LazyResponseInterface $controllerResult): Response |
|
32 | { |
||
33 | 3 | return new SymfonyRedirectResponse( |
|
34 | 3 | $this->router->generate( |
|
35 | 3 | $controllerResult->getRouteName(), |
|
36 | 3 | $controllerResult->getRouteParams() |
|
37 | ), |
||
38 | 3 | $controllerResult->getStatusCode(), |
|
39 | 3 | $controllerResult->getHeaders() |
|
40 | ); |
||
43 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.