| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class RedirectResponseHandler extends AbstractLazyResponseHandler |
||
| 16 | { |
||
| 17 | 4 | public function __construct(private RouterInterface $router) |
|
|
|
|||
| 18 | { |
||
| 19 | 4 | } |
|
| 20 | |||
| 21 | 3 | protected function isSupported(LazyResponseInterface $controllerResult): bool |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param RedirectResponse $controllerResult |
||
| 28 | * |
||
| 29 | * @psalm-suppress MoreSpecificImplementedParamType |
||
| 30 | */ |
||
| 31 | 3 | protected function generateResponse(LazyResponseInterface $controllerResult): Response |
|
| 40 | ); |
||
| 41 | } |
||
| 43 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.