Skip to content

Commit

Permalink
accept a string or array of views (#30746)
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
browner12 authored and taylorotwell committed Dec 4, 2019
1 parent 6dff618 commit a07bd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Contracts/Routing/ResponseFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function noContent($status = 204, array $headers = []);
/**
* Create a new response for a given view.
*
* @param string $view
* @param string|array $view
* @param array $data
* @param int $status
* @param array $headers
Expand Down

0 comments on commit a07bd96

Please sign in to comment.