Skip to content

Commit a401108

Browse files
authored
[11.x] Update withErrors() docblock to reflect string parameter support (#54009)
1 parent 8f5a17e commit a401108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/View/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public function nest($key, $view, array $data = [])
275275
/**
276276
* Add validation errors to the view.
277277
*
278-
* @param \Illuminate\Contracts\Support\MessageProvider|array $provider
278+
* @param \Illuminate\Contracts\Support\MessageProvider|array|string $provider
279279
* @param string $bag
280280
* @return $this
281281
*/

0 commit comments

Comments
 (0)