@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | |
15 | 15 | /** |
16 | - * @param $module |
|
17 | - * @param $controller |
|
16 | + * @param string $module |
|
17 | + * @param string $controller |
|
18 | 18 | * @return Controller |
19 | 19 | */ |
20 | 20 | public static function resolveFromParams($module, $controller) |
@@ -16,7 +16,6 @@ |
||
16 | 16 | protected $command; |
17 | 17 | |
18 | 18 | /** |
19 | - * @param Command $methodCall |
|
20 | 19 | * @return Command |
21 | 20 | */ |
22 | 21 | public function __invoke(Command $command): Command |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Nip\Controllers\Controller; |
6 | 6 | use Nip\Dispatcher\Exceptions\InvalidCommandException; |
7 | -use Psr\Http\Message\RequestInterface; |
|
8 | 7 | use Psr\Http\Message\ResponseInterface; |
9 | 8 | |
10 | 9 | /** |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @param Request|null $request |
21 | - * @return Response|null |
|
21 | + * @return \Psr\Http\Message\ResponseInterface|null |
|
22 | 22 | */ |
23 | 23 | public function dispatchRequest(Request $request = null) |
24 | 24 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Nip\Controllers\Controller; |
6 | 6 | use Nip\Dispatcher\Exceptions\InvalidCommandException; |
7 | -use Psr\Http\Message\RequestInterface; |
|
8 | 7 | use Psr\Http\Message\ResponseInterface; |
9 | 8 | |
10 | 9 | /** |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Nip\Dispatcher\Dispatcher; |
6 | 6 | use Nip\Dispatcher\Commands\Command; |
7 | 7 | use Nip\Dispatcher\Exceptions\InvalidCommandException; |
8 | - |
|
9 | 8 | use Psr\Http\Message\RequestInterface; |
10 | 9 | use Psr\Http\Message\ResponseInterface; |
11 | 10 |