Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit c095337

Browse files
committed
Minor fixes
1 parent d90a7e8 commit c095337

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Console/ElasticIndexCreateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function createIndex()
2929
->create($payload);
3030

3131
$this->info(sprintf(
32-
'The index %s was created!',
32+
'The %s index was created!',
3333
$configurator->getName()
3434
));
3535
}

src/Console/ElasticMigrateCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function createTargetIndex()
6060
->create($payload);
6161

6262
$this->info(sprintf(
63-
'The index %s was created!',
63+
'The %s index was created.',
6464
$targetIndex
6565
));
6666
}
@@ -108,7 +108,7 @@ protected function updateTargetIndex()
108108
}
109109

110110
$this->info(sprintf(
111-
'The index %s was updated!',
111+
'The index %s was updated.',
112112
$targetIndex
113113
));
114114
}
@@ -145,7 +145,7 @@ protected function updateTargetIndexMapping()
145145
->putMapping($payload);
146146

147147
$this->info(sprintf(
148-
'The %s mapping was updated!',
148+
'The %s mapping was updated.',
149149
$targetIndex
150150
));
151151
}
@@ -217,7 +217,7 @@ protected function importDocumentsToTargetIndex()
217217
{
218218
$sourceModel = $this->getModel();
219219

220-
Artisan::call(
220+
$this->call(
221221
'scout:import',
222222
['model' => get_class($sourceModel)]
223223
);

0 commit comments

Comments
 (0)