Skip to content

Commit

Permalink
[11.x] Update withErrors() docblock to reflect string parameter suppo…
Browse files Browse the repository at this point in the history
…rt (#54009)
  • Loading branch information
cheack authored Dec 26, 2024
1 parent 8f5a17e commit a401108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function nest($key, $view, array $data = [])
/**
* Add validation errors to the view.
*
* @param \Illuminate\Contracts\Support\MessageProvider|array $provider
* @param \Illuminate\Contracts\Support\MessageProvider|array|string $provider
* @param string $bag
* @return $this
*/
Expand Down

0 comments on commit a401108

Please sign in to comment.