1 | <?php |
||
20 | class IndexController |
||
21 | { |
||
22 | private $locale; |
||
23 | |||
24 | /** @var ViewEngine $view */ |
||
25 | private $view; |
||
26 | |||
27 | /** |
||
28 | * DragonController constructor. |
||
29 | */ |
||
30 | public function __construct(ViewEngine $view) |
||
34 | |||
35 | public function init() |
||
40 | |||
41 | /** |
||
42 | * @param ServerRequestInterface $request |
||
43 | * @param array $args |
||
44 | * @return ResponseInterface |
||
45 | */ |
||
46 | public function indexAction(ServerRequestInterface $request, array $args) : ResponseInterface |
||
52 | |||
53 | /** |
||
54 | * @param ServerRequestInterface $request |
||
55 | * @param array $args |
||
56 | * @return ResponseInterface |
||
57 | */ |
||
58 | public function learnAction(ServerRequestInterface $request, array $args) : ResponseInterface |
||
64 | } |
||
65 |
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.