Skip to content

Commit a07bd96

Browse files
browner12taylorotwell
authored andcommitted
accept a string or array of views (#30746)
this goes along with PR #30651 . I'm not sure what our practice is for changes like this on an interface.... I'm not technically changing any of the code, just a docblock, so is it safe to send to 6.x?
1 parent 6dff618 commit a07bd96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Contracts/Routing/ResponseFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function noContent($status = 204, array $headers = []);
2626
/**
2727
* Create a new response for a given view.
2828
*
29-
* @param string $view
29+
* @param string|array $view
3030
* @param array $data
3131
* @param int $status
3232
* @param array $headers

0 commit comments

Comments
 (0)