From a1c9e0389365042469f08a43e61d6780d131afa0 Mon Sep 17 00:00:00 2001 From: Mark Stralka Date: Mon, 19 Apr 2021 12:35:32 -0400 Subject: [PATCH] Fixes #160 --- src/ScoutElasticSearchServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ScoutElasticSearchServiceProvider.php b/src/ScoutElasticSearchServiceProvider.php index be00314b..d14dcfd0 100644 --- a/src/ScoutElasticSearchServiceProvider.php +++ b/src/ScoutElasticSearchServiceProvider.php @@ -28,6 +28,8 @@ public function boot(): void return new ElasticSearchEngine($elasticsearch); }); + + $this->registerCommands(); } /** @@ -37,8 +39,6 @@ public function register(): void { $this->app->register(ScoutServiceProvider::class); $this->app->bind(ImportSourceFactory::class, DefaultImportSourceFactory::class); - - $this->registerCommands(); } /**