Skip to content

Commit

Permalink
fixup! Add query interface
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Jan 20, 2024
1 parent 5b92c66 commit 8b0260b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Query/TicketQueryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<Ticket> */
#[DbQuery('ticket_list', entity: Ticket::class)]
Expand Down

0 comments on commit 8b0260b

Please sign in to comment.