diff --git a/Neos.ContentRepositoryRegistry/Classes/Command/CrCommandController.php b/Neos.ContentRepositoryRegistry/Classes/Command/CrCommandController.php index 47ab58afc2a..bbbbd040254 100644 --- a/Neos.ContentRepositoryRegistry/Classes/Command/CrCommandController.php +++ b/Neos.ContentRepositoryRegistry/Classes/Command/CrCommandController.php @@ -128,7 +128,7 @@ public function projectionReplayCommand(string $projection, string $contentRepos if (!$quiet) { $this->outputLine('Replaying events for projection "%s" of Content Repository "%s" ...', [$projection, $contentRepositoryId->value]); $progressBar->start(max($until > 0 ? $until : $projectionService->highestSequenceNumber()->value, 1)); - $options->with(progressCallback: fn () => $progressBar->advance()); + $options = $options->with(progressCallback: fn () => $progressBar->advance()); } if ($until > 0) { $options = $options->with(maximumSequenceNumber: SequenceNumber::fromInteger($until));