sync($restoreRun); } /** * Handle the RestoreRun "updated" event. */ public function updated(RestoreRun $restoreRun): void { $this->sync($restoreRun); } protected function sync(RestoreRun $restoreRun): void { /** @var SyncRestoreRunToOperationRun $syncer */ $syncer = app(SyncRestoreRunToOperationRun::class); $syncer->handle($restoreRun); } }