|null $changes */ public function handle( Ticket $ticket, ?User $actor, string $entryType, string $summary, ?array $changes = null, ): TicketWorklogEntry { return $ticket->worklogEntries()->create([ 'actor_id' => $actor?->id, 'changes' => $changes, 'entry_type' => $entryType, 'summary' => $summary, ]); } }