diff --git a/src/BonsaiServiceProvider.php b/src/BonsaiServiceProvider.php index 8e09848..b0f5f89 100644 --- a/src/BonsaiServiceProvider.php +++ b/src/BonsaiServiceProvider.php @@ -43,16 +43,6 @@ public function boot() * @return void */ public function register() - { - $this->registerServices(); - } - - /** - * Register the package services. - * - * @return void - */ - protected function registerServices() { $this->app->singleton('bonsai', function ($app) { return new Bonsai($app['view']); @@ -66,6 +56,6 @@ protected function registerServices() */ public function provides() { - return ['bonsai']; + return [Bonsai::class]; } }