From 9a2902553495baa6fb1515176a8bbaab5633fb58 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Thu, 25 Aug 2022 16:26:31 +0200 Subject: Parameter of RepairAdvanceEvent is actually an increment, not a step id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- core/Command/Maintenance/Repair.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Command/Maintenance/Repair.php') diff --git a/core/Command/Maintenance/Repair.php b/core/Command/Maintenance/Repair.php index 7f8d98d758d..e1d1862f3f4 100644 --- a/core/Command/Maintenance/Repair.php +++ b/core/Command/Maintenance/Repair.php @@ -127,7 +127,7 @@ class Repair extends Command { if ($event instanceof RepairStartEvent) { $this->progress->start($event->getMaxStep()); } elseif ($event instanceof RepairAdvanceEvent) { - $this->progress->advance($event->getCurrentStep()); + $this->progress->advance($event->getIncrement()); } elseif ($event instanceof RepairFinishEvent) { $this->progress->finish(); $this->output->writeln(''); -- cgit v1.2.3