From c7e346cbfdd28641c990ce8c194f035d60797182 Mon Sep 17 00:00:00 2001 From: Vladimir Pakhomchik Date: Tue, 24 Dec 2024 11:03:15 +0100 Subject: [PATCH] [11.x] Update withErrors() docblock to reflect string parameter support --- src/Illuminate/View/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/View/View.php b/src/Illuminate/View/View.php index 7405b33d5fdc..ac165842a03c 100755 --- a/src/Illuminate/View/View.php +++ b/src/Illuminate/View/View.php @@ -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 */