@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | /** |
71 | 71 | * Get route (early) middleware pre-response. |
72 | - * @return mixed |
|
72 | + * @return string |
|
73 | 73 | */ |
74 | 74 | public function getPreResponse(){ |
75 | 75 | return $this->preResponse; |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * Set handler pre-response. |
80 | - * @param $string |
|
80 | + * @param string $string |
|
81 | 81 | * @return $this |
82 | 82 | */ |
83 | 83 | public function withPreResponse($string){ |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Ds\Router\Handler; |
4 | 4 | |
5 | 5 | use Ds\Router\RouteHandlerInterface; |
6 | -use Psr\Http\Message\ResponseInterface; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * Closure Route Handler. |