From b4130cfa45f09c794ee005b8fbe5ac53b1bef326 Mon Sep 17 00:00:00 2001 From: Niclas Date: Tue, 5 Sep 2023 21:07:46 +0200 Subject: [PATCH] Add array to docs of ResponseFactory::redirectToAction (#48309) --- src/Illuminate/Contracts/Routing/ResponseFactory.php | 2 +- src/Illuminate/Routing/ResponseFactory.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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