We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91b901a commit e6bb5b1Copy full SHA for e6bb5b1
src/Commands/ElasticsearchRefreshIndex.php
@@ -16,8 +16,8 @@ class ElasticsearchRefreshIndex extends Command
16
17
public function handle(): int
18
{
19
- $this->call('elastic:delete-index');
20
- $this->call('elastic:create-index');
+ $this->call(ElasticsearchDeleteIndex::class);
+ $this->call(ElasticsearchCreateIndex::class);
21
22
/** @var class-string<\Illuminate\Database\Eloquent\Model>[] $models */
23
$models = config('elasticsearch.models');
0 commit comments