diff --git a/src/FlashAlertServiceProvider.php b/src/FlashAlertServiceProvider.php index bc80d2c..b92463c 100644 --- a/src/FlashAlertServiceProvider.php +++ b/src/FlashAlertServiceProvider.php @@ -58,7 +58,7 @@ private function registerFlashAlert() 'Srmklive\FlashAlert\FlashAlertSessionStore' ); - $this->app->bindShared('flashalert', function() { + $this->app->singleton('flashalert', function() { return $this->app->make('Srmklive\FlashAlert\FlashAlertHandler'); }); }