| Total Complexity | 3 | 
| Total Lines | 23 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 14 | final class TwigResponseHandler extends AbstractLazyResponseHandler | ||
| 15 | { | ||
| 16 | 5 | public function __construct(private Environment $twig) | |
| 18 | 5 | } | |
| 19 | |||
| 20 | 4 | protected function isSupported(LazyResponseInterface $controllerResult): bool | |
| 23 | } | ||
| 24 | |||
| 25 | /** | ||
| 26 | * @param TemplateResponse $controllerResult | ||
| 27 | * | ||
| 28 | * @psalm-suppress MoreSpecificImplementedParamType | ||
| 29 | * | ||
| 30 | * @throws \Twig\Error\LoaderError | ||
| 31 | * @throws \Twig\Error\RuntimeError | ||
| 32 | * @throws \Twig\Error\SyntaxError | ||
| 33 | */ | ||
| 34 | 4 | protected function generateResponse(LazyResponseInterface $controllerResult): Response | |
| 39 | 
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.