Total Complexity | 9 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class HttpErrorsController extends ErrorsController |
||
9 | { |
||
10 | /** |
||
11 | * @throws RouterException |
||
12 | */ |
||
13 | public function handle404($data, string $type = 'db', array $page = []): void |
||
22 | } |
||
23 | } |
||
24 | } |
||
25 | |||
26 | public function error404(): void |
||
27 | { |
||
28 | data(["content" => view("errors.404")]); |
||
29 | render("layout", data()); |
||
30 | } |
||
31 | |||
32 | public function error503(): void |
||
33 | { |
||
34 | data(["content" => view("errors.503")]); |
||
35 | render("layout", data()); |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @deprecated |
||
40 | * @return mixed |
||
41 | */ |
||
42 | public function error500() |
||
48 | ]); |
||
49 | } |
||
50 | } |
||
51 |
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.