diff --git a/src/Service/Indexer/IndexerProgressState.php b/src/Service/Indexer/IndexerProgressState.php index 2d8332e..c5992d6 100644 --- a/src/Service/Indexer/IndexerProgressState.php +++ b/src/Service/Indexer/IndexerProgressState.php @@ -83,15 +83,15 @@ public function startUpdate(int $total): void $this->isUpdate = true; $storedStatus = $this->statusStore->load($this->getStatusStoreKey()); $this->status = new IndexerStatus( - IndexerStatusState::RUNNING, - $storedStatus->startTime, - $storedStatus->endTime, - $storedStatus->total + $total, - $storedStatus->processed, - $storedStatus->skipped, - new DateTime(), - $storedStatus->updated, - $storedStatus->errors, + state: IndexerStatusState::RUNNING, + startTime: $storedStatus->startTime, + endTime: $storedStatus->endTime, + total: $storedStatus->total + $total, + processed: $storedStatus->processed, + skipped: $storedStatus->skipped, + lastUpdate: new DateTime(), + updated: $storedStatus->updated, + errors: $storedStatus->errors, ); $this->statusStore->store( $this->getStatusStoreKey(),