Skip to content

Commit dcbf167

Browse files
committed
Fixed missing EntityName
1 parent 3071023 commit dcbf167

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Commands/CreateIndex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected function execute(
7373
}
7474

7575
} else {
76-
foreach ($this->entities as $entity) {
76+
foreach ($this->entities as $entityName => $entity) {
7777
if ($forcedDelete) {
7878
$this->elasticMapper->deleteIndex($entity['index']);
7979
$output->writeln('Index ' . $this->entities[$entityName]['index'] . ' deleted.');

0 commit comments

Comments
 (0)