diff --git a/src/Omniphx/Forrest/Providers/BaseServiceProvider.php b/src/Omniphx/Forrest/Providers/BaseServiceProvider.php index 6f38b82..f9a10e1 100644 --- a/src/Omniphx/Forrest/Providers/BaseServiceProvider.php +++ b/src/Omniphx/Forrest/Providers/BaseServiceProvider.php @@ -72,13 +72,13 @@ public function register() switch ($storageType) { case 'session': - $storage = new LaravelSession(app('config'), app('request').session()); + $storage = new LaravelSession(app('config'), app('request')->session()); break; case 'cache': $storage = new LaravelCache(app('config'), app('cache')); break; default: - $storage = new LaravelSession(app('config'), app('request').session()); + $storage = new LaravelSession(app('config'), app('request')->session()); } // Class namespace