Skip to content

Commit b4130cf

Browse files
authored
Add array to docs of ResponseFactory::redirectToAction (#48309)
1 parent 909ea24 commit b4130cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Illuminate/Contracts/Routing/ResponseFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function redirectToRoute($route, $parameters = [], $status = 302, $header
123123
/**
124124
* Create a new redirect response to a controller action.
125125
*
126-
* @param string $action
126+
* @param array|string $action
127127
* @param mixed $parameters
128128
* @param int $status
129129
* @param array $headers

src/Illuminate/Routing/ResponseFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public function redirectToRoute($route, $parameters = [], $status = 302, $header
235235
/**
236236
* Create a new redirect response to a controller action.
237237
*
238-
* @param string $action
238+
* @param array|string $action
239239
* @param mixed $parameters
240240
* @param int $status
241241
* @param array $headers

0 commit comments

Comments
 (0)