@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | * Run one of the mapped callbacks to a passed HTTP Method. |
| 84 | 84 | * @param array $args The arguments to be passed to the callback |
| 85 | 85 | * @param string $method The HTTP Method requested. |
| 86 | - * @return array The callback response. |
|
| 86 | + * @return string[] The callback response. |
|
| 87 | 87 | */ |
| 88 | 88 | public function run(array $args, $method='get'){ |
| 89 | 89 | $method = strtolower($method); |
@@ -204,7 +204,6 @@ discard block |
||
| 204 | 204 | |
| 205 | 205 | /** |
| 206 | 206 | * Bind a middleware callback to invoked before the route definition |
| 207 | - * @param callable $before The callback to be invoked ($this is binded to the route object). |
|
| 208 | 207 | * @return Route |
| 209 | 208 | */ |
| 210 | 209 | public function & before($callback){ |
@@ -331,7 +330,6 @@ discard block |
||
| 331 | 330 | |
| 332 | 331 | /** |
| 333 | 332 | * Add a route to the internal route repository. |
| 334 | - * @param Route $r |
|
| 335 | 333 | * @return Route |
| 336 | 334 | */ |
| 337 | 335 | public static function add($route){ |