Skip to content

Commit

Permalink
Merge pull request #128 from pravindahal/master
Browse files Browse the repository at this point in the history
Fixed function calls
  • Loading branch information
omniphx authored Feb 6, 2017
2 parents 0226a97 + 1f4982a commit f2b7852
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Omniphx/Forrest/Providers/BaseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2b7852

Please sign in to comment.