Closed Dunos closed 8 years ago
When trying to do something like the following in my controller
return redirect()->route('home')->withErrors(['code' => true]);
I get the error
FatalErrorException in RedirectResponse.php line 120: Call to undefined method Illuminate\Support\MessageBag::put()
In the function description it says the var $provider can be an array too so I guess this is a bug... or am I missing something?
@param \Illuminate\Contracts\Support\MessageProvider|array|string $provider
I just did a "composer update" and now it seems to work...
When trying to do something like the following in my controller
return redirect()->route('home')->withErrors(['code' => true]);
I get the error
In the function description it says the var $provider can be an array too so I guess this is a bug... or am I missing something?
@param \Illuminate\Contracts\Support\MessageProvider|array|string $provider