@@ -367,7 +367,6 @@ discard block |
||
367 | 367 | /** |
368 | 368 | * Shortcut to add a GET route. |
369 | 369 | * |
370 | - * @param null|string|array $method as request methods |
|
371 | 370 | * @param null|string|callable $action a callback handler for the route. |
372 | 371 | * |
373 | 372 | * @return class|array as new route(s), class if one added, else array. |
@@ -382,7 +381,6 @@ discard block |
||
382 | 381 | /** |
383 | 382 | * Shortcut to add a POST route. |
384 | 383 | * |
385 | - * @param null|string|array $method as request methods |
|
386 | 384 | * @param null|string|callable $action a callback handler for the route. |
387 | 385 | * |
388 | 386 | * @return class|array as new route(s), class if one added, else array. |
@@ -397,7 +395,6 @@ discard block |
||
397 | 395 | /** |
398 | 396 | * Shortcut to add a PUT route. |
399 | 397 | * |
400 | - * @param null|string|array $method as request methods |
|
401 | 398 | * @param null|string|callable $action a callback handler for the route. |
402 | 399 | * |
403 | 400 | * @return class|array as new route(s), class if one added, else array. |
@@ -412,7 +409,6 @@ discard block |
||
412 | 409 | /** |
413 | 410 | * Shortcut to add a DELETE route. |
414 | 411 | * |
415 | - * @param null|string|array $method as request methods |
|
416 | 412 | * @param null|string|callable $action a callback handler for the route. |
417 | 413 | * |
418 | 414 | * @return class|array as new route(s), class if one added, else array. |
@@ -427,7 +423,7 @@ discard block |
||
427 | 423 | /** |
428 | 424 | * Get the route for the last route that was handled. |
429 | 425 | * |
430 | - * @return mixed |
|
426 | + * @return string |
|
431 | 427 | */ |
432 | 428 | public function getLastRoute() |
433 | 429 | { |