Skip to content

Commit

Permalink
Cleaned up service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidesu committed Aug 6, 2019
1 parent caa3025 commit 1f5a380
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/BonsaiServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand All @@ -66,6 +56,6 @@ protected function registerServices()
*/
public function provides()
{
return ['bonsai'];
return [Bonsai::class];
}
}

0 comments on commit 1f5a380

Please sign in to comment.