transactions->run(function () use ($jobId, $taskId, $userId, $body): int { $this->finder->ensureTask($jobId, $taskId); return (int) $this->comments->save(TaskComment::create($taskId, $userId, $body, $this->clock->now()))->id(); }); } }