@@ -53,7 +53,7 @@ |
||
53 | 53 | try{ |
54 | 54 | $this->resolveController( $this->controller); |
55 | 55 | $this->resolveMethod( $this->method ); |
56 | - }catch(\Exception $e){ |
|
56 | + } catch(\Exception $e){ |
|
57 | 57 | $this->resolved = new $this->controller(...$arguments); |
58 | 58 | } |
59 | 59 |
@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | if ($this->groupedRoute === false){ |
55 | 55 | $routePattern = $pattern; |
56 | - }else{ |
|
56 | + } else{ |
|
57 | 57 | $routePattern = implode('',$this->dir).$pattern; |
58 | 58 | } |
59 | 59 |
@@ -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. |