Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
44 | protected function render( |
||
45 | string $template, |
||
46 | array $data = [], |
||
47 | array $headers = ['Content-Type' => 'text/html'], |
||
48 | int $statusCode = 200 |
||
49 | ): ResponseInterface { |
||
50 | $content = $this->templateEngine->parse($template)->process($data); |
||
|
|||
51 | return new Response($statusCode, $content, $headers); |
||
52 | } |
||
54 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.