Skip to content

Commit 2f80e3c

Browse files
committed
TASK: Fix typos in commad output
1 parent edd6599 commit 2f80e3c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Classes/Command/NodeIndexCommandController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public function buildCommand(int $limit = null, bool $update = false, string $wo
229229
$postfix = (string)($postfix ?: time());
230230
$this->nodeIndexer->setIndexNamePostfix($postfix);
231231

232-
$createMapping = function (array $dimensionsValues) use ($update, $postfix) {
232+
$createIndicesAndApplyMapping = function (array $dimensionsValues) use ($update, $postfix) {
233233
$this->executeInternalCommand('createInternal', [
234234
'dimensionsValues' => json_encode($dimensionsValues),
235235
'update' => $update,
@@ -265,10 +265,10 @@ public function buildCommand(int $limit = null, bool $update = false, string $wo
265265
$this->outputLine('<success>Done</success> (took %s seconds)', [number_format(microtime(true) - $timeStart, 2)]);
266266
};
267267

268-
$runAndLog($createMapping, 'Create indicies');
268+
$runAndLog($createIndicesAndApplyMapping, 'Creating indices and apply mapping');
269269

270270
$timeStart = microtime(true);
271-
$this->output(str_pad('Indexing nodes' . '... ', 20));
271+
$this->output(str_pad('Indexing nodes ... ', 20));
272272
$buildIndex([]);
273273
$this->outputLine('<success>Done</success> (took %s seconds)', [number_format(microtime(true) - $timeStart, 2)]);
274274

0 commit comments

Comments
 (0)