Skip to content

Commit

Permalink
Fixed function calls
Browse files Browse the repository at this point in the history
String concatination done instead of function calls.
  • Loading branch information
pravindahal committed Feb 6, 2017
1 parent 0226a97 commit 1f4982a
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 1f4982a

Please sign in to comment.