diff --git a/recovery/update/src/Command/UpdateCommand.php b/recovery/update/src/Command/UpdateCommand.php index fd5476d9f04..ca6ddcd1914 100644 --- a/recovery/update/src/Command/UpdateCommand.php +++ b/recovery/update/src/Command/UpdateCommand.php @@ -167,14 +167,14 @@ private function migrateDatabase() $step = new MigrationStep($manager); $offset = 0; do { - $progress->setCurrent($offset); + $progress->setProgress($offset); $result = $step->run($offset); if ($result instanceof ErrorResult) { throw new \Exception($result->getMessage(), 0, $result->getException()); } $offset = $result->getOffset(); - $progress->setCurrent($offset); + $progress->setProgress($offset); } while ($result instanceof ValidResult); $progress->finish(); $this->IOHelper->writeln(''); @@ -202,13 +202,13 @@ private function importSnippets() $offset = 0; do { - $progress->setCurrent($offset); + $progress->setProgress($offset); $result = $snippetStep->run($offset); if ($result instanceof ErrorResult) { throw new \Exception($result->getMessage(), 0, $result->getException()); } $offset = $result->getOffset(); - $progress->setCurrent($offset); + $progress->setProgress($offset); } while ($result instanceof ValidResult); $progress->finish(); $this->IOHelper->writeln('');