fix 500 when ordering (#28)

Reviewed-on: #28
This commit is contained in:
Constantin Simonis 2025-02-23 15:41:38 +00:00
parent a4575482b2
commit 74ff5a23e0

View File

@ -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;
}