transactions->run(function () use ($day, $actorUserId): void { $cashDay = $this->cashDays->lockForDay($day); $cashDay->reopen($actorUserId, $this->clock->now()); $this->cashDays->save($cashDay); }); } }