transactions->run(function () use ($jobId, $taskId, $itemId): void { $this->items->delete($this->finder->find($jobId, $taskId, $itemId)); }); } }