diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 1ee9674..4c9896c 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -45,7 +45,9 @@ class AppServiceProvider extends ServiceProvider 'flash' => [ 'success' => Session::get('success'), ], - 'errors' => Session::get('errors') ? Session::get('errors')->getBag('default')->getMessages() : (object) [], + 'errors' => Session::get('errors') + ? Session::get('errors')->getBag('default')->getMessages() + : (object) [], ]; });