Skip to content

Commit

Permalink
Fixed bug in service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljennings committed Sep 20, 2015
1 parent eaf9629 commit a8fc27a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CoreServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public function register()
});

$this->app->singleton('Coreplex\Core\Contracts\Session', function ($app) use ($config) {
return (new ReflectionClass($config['session']['driver']))->newInstanceArgs($config['session'],
$app['session.store']);
return (new ReflectionClass($config['session']['driver']))->newInstanceArgs([$config['session'],
$app['session.store']]);
});

$this->app->alias('Coreplex\Core\Contracts\Renderer', 'coreplex.core.renderer');
Expand Down

0 comments on commit a8fc27a

Please sign in to comment.