diff --git a/src/TeamworkServiceProvider.php b/src/TeamworkServiceProvider.php index 34a7f6e..59c83bf 100644 --- a/src/TeamworkServiceProvider.php +++ b/src/TeamworkServiceProvider.php @@ -6,13 +6,6 @@ class TeamworkServiceProvider extends ServiceProvider { - /** - * Indicates if loading of the provider is deferred. - * - * @var bool - */ - protected $defer = false; - /** * Bootstrap the application events. * @@ -68,9 +61,7 @@ public function register() */ protected function registerTeamwork() { - $this->app->bind('teamwork', function ($app) { - return new Teamwork($app); - }); + $this->app->alias(Teamwork::class, 'teamwork'); } /**