1 | <?php |
||
17 | class IndexController |
||
18 | { |
||
19 | |||
20 | /** @var ViewEngine $view */ |
||
21 | private $view; |
||
22 | |||
23 | /** |
||
24 | * DragonController constructor. |
||
25 | */ |
||
26 | 3 | public function __construct(ViewEngine $view) |
|
30 | |||
31 | /** |
||
32 | * @param ServerRequestInterface $request |
||
33 | * @param array $args |
||
34 | * @return ResponseInterface |
||
35 | */ |
||
36 | 1 | public function indexAction(ServerRequestInterface $request, array $args) : ResponseInterface |
|
42 | |||
43 | /** |
||
44 | * @param ServerRequestInterface $request |
||
45 | * @param array $args |
||
46 | * @return ResponseInterface |
||
47 | */ |
||
48 | 1 | public function learnAction(ServerRequestInterface $request, array $args) : ResponseInterface |
|
54 | } |
||
55 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.