From 1f5a380db7ade6523658ee9255d59b78137ba32f Mon Sep 17 00:00:00 2001 From: "Shea Lewis (Kai)" Date: Tue, 6 Aug 2019 10:37:47 -0700 Subject: [PATCH] Cleaned up service provider --- src/BonsaiServiceProvider.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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]; } }