@@ -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){ |
@@ -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 |