diff --git a/src/Illuminate/Contracts/Routing/ResponseFactory.php b/src/Illuminate/Contracts/Routing/ResponseFactory.php index a6206a9c4849..0aa51d5515f0 100644 --- a/src/Illuminate/Contracts/Routing/ResponseFactory.php +++ b/src/Illuminate/Contracts/Routing/ResponseFactory.php @@ -123,7 +123,7 @@ public function redirectToRoute($route, $parameters = [], $status = 302, $header /** * Create a new redirect response to a controller action. * - * @param string $action + * @param array|string $action * @param mixed $parameters * @param int $status * @param array $headers diff --git a/src/Illuminate/Routing/ResponseFactory.php b/src/Illuminate/Routing/ResponseFactory.php index 33ea06f937af..35b209584549 100644 --- a/src/Illuminate/Routing/ResponseFactory.php +++ b/src/Illuminate/Routing/ResponseFactory.php @@ -235,7 +235,7 @@ public function redirectToRoute($route, $parameters = [], $status = 302, $header /** * Create a new redirect response to a controller action. * - * @param string $action + * @param array|string $action * @param mixed $parameters * @param int $status * @param array $headers