From 74ff5a23e048b9f78d4404083faee732b915501a Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Sun, 23 Feb 2025 15:41:38 +0000 Subject: [PATCH] fix 500 when ordering (#28) Reviewed-on: https://git.simonis.lol/projects/abiball/pulls/28 --- src/Entity/Ticket.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/Ticket.php b/src/Entity/Ticket.php index 2fa1358..8838199 100644 --- a/src/Entity/Ticket.php +++ b/src/Entity/Ticket.php @@ -28,7 +28,7 @@ class Ticket implements \Stringable private ?Customer $customer = null; #[ORM\Column(options: ['default' => false])] - private ?bool $checkedIn = null; + private bool $checkedIn = false; public function getId(): ?int { @@ -88,7 +88,7 @@ class Ticket implements \Stringable return TicketData::TICKET_DATA[$this->type]['name']; } - public function isCheckedIn(): ?bool + public function isCheckedIn(): bool { return $this->checkedIn; }