Skip to content

Commit

Permalink
Laravel 5.2 update.
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanersu committed Jan 16, 2016
1 parent 48c61e6 commit 320ed94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Xuma/Amaran/AmaranServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ protected function registerServices()
'Xuma\Amaran\AmaranViewBinder'
);

$this->app->bindShared('amaran', function($app) {
$this->app->singleton('amaran', function($app) {
$binder = new AmaranViewBinder($app['events']);
return $this->app->make('Xuma\Amaran\AmaranHandler');
});
Expand All @@ -62,4 +62,4 @@ protected function registerResources()
// Add a view namespace
$this->app['view']->addNamespace('amaran', __DIR__.'/../views');
}
}
}

0 comments on commit 320ed94

Please sign in to comment.