fix 500 when ordering
All checks were successful
build / build (pull_request) Successful in 4m57s

This commit is contained in:
Constantin Simonis 2025-02-23 16:41:14 +01:00
parent a4575482b2
commit 3db34f67c0
Signed by: csimonis
GPG Key ID: 758DD9C506603183

View File

@ -28,7 +28,7 @@ class Ticket implements \Stringable
private ?Customer $customer = null; private ?Customer $customer = null;
#[ORM\Column(options: ['default' => false])] #[ORM\Column(options: ['default' => false])]
private ?bool $checkedIn = null; private bool $checkedIn = false;
public function getId(): ?int public function getId(): ?int
{ {
@ -88,7 +88,7 @@ class Ticket implements \Stringable
return TicketData::TICKET_DATA[$this->type]['name']; return TicketData::TICKET_DATA[$this->type]['name'];
} }
public function isCheckedIn(): ?bool public function isCheckedIn(): bool
{ {
return $this->checkedIn; return $this->checkedIn;
} }