@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * |
| 116 | 116 | * This method need at least 2 arguments: route pattern and callable. |
| 117 | 117 | * You can create midleware callables which will be executed before the route |
| 118 | - * @return type |
|
| 118 | + * @return Router |
|
| 119 | 119 | */ |
| 120 | 120 | public function post() { |
| 121 | 121 | return $this->url(Route::METHOD_POST, func_get_args()); |
@@ -198,6 +198,7 @@ discard block |
||
| 198 | 198 | |
| 199 | 199 | /** |
| 200 | 200 | * Method called when route cant be found |
| 201 | + * @param \Closure $callback |
|
| 201 | 202 | */ |
| 202 | 203 | public function notFound($callback) { |
| 203 | 204 | $this->errorHandler['notFound'] = $callback; |