We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3071023 commit dcbf167Copy full SHA for dcbf167
1 file changed
src/Commands/CreateIndex.php
@@ -73,7 +73,7 @@ protected function execute(
73
}
74
75
} else {
76
- foreach ($this->entities as $entity) {
+ foreach ($this->entities as $entityName => $entity) {
77
if ($forcedDelete) {
78
$this->elasticMapper->deleteIndex($entity['index']);
79
$output->writeln('Index ' . $this->entities[$entityName]['index'] . ' deleted.');
0 commit comments