diff --git a/src/FcmServiceProvider.php b/src/FcmServiceProvider.php index e243bea..573d328 100644 --- a/src/FcmServiceProvider.php +++ b/src/FcmServiceProvider.php @@ -20,8 +20,8 @@ public function boot() public function register() { - $this->app->singleton('fcm', function($app) { - return new Fcm; + $this->app->singleton('fcm', function ($app) { + return new Fcm(); }); } }