Skip to content

Commit

Permalink
Merge pull request #2 from jozefbalun/patch-1
Browse files Browse the repository at this point in the history
Support for laravel 5.4
  • Loading branch information
oriceon authored Jan 28, 2017
2 parents e03dfd3 + 6c02af7 commit e8fe4c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kamaln7/Toastr/ToastrServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function boot()
*/
public function register()
{
$this->app['toastr'] = $this->app->share(function ($app)
$this->app['toastr'] = $this->app->singleton(function ($app)
{
return new Toastr($app['session'], $app['config']);
});
Expand Down

0 comments on commit e8fe4c4

Please sign in to comment.