diff --git a/src/Query/TicketQueryInterface.php b/src/Query/TicketQueryInterface.php index 55f5015..036b97f 100644 --- a/src/Query/TicketQueryInterface.php +++ b/src/Query/TicketQueryInterface.php @@ -10,7 +10,7 @@ interface TicketQueryInterface { #[DbQuery('ticket_item', entity: Ticket::class, type: 'row')] - public function item(string $id): Ticket; + public function item(string $id): Ticket|null; /** @return array */ #[DbQuery('ticket_list', entity: Ticket::class)]