Skip to content

Commit

Permalink
Merge pull request #174 from chrysanthos/master
Browse files Browse the repository at this point in the history
Register Commands during boot
  • Loading branch information
matchish authored Jun 5, 2021
2 parents 704d03e + 560ea7a commit 87981a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ScoutElasticSearchServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public function boot(): void

return new ElasticSearchEngine($elasticsearch);
});

$this->registerCommands();
}

/**
Expand All @@ -37,8 +39,6 @@ public function register(): void
{
$this->app->register(ScoutServiceProvider::class);
$this->app->bind(ImportSourceFactory::class, DefaultImportSourceFactory::class);

$this->registerCommands();
}

/**
Expand Down

0 comments on commit 87981a2

Please sign in to comment.