fix 500 when ordering #28

Merged
csimonis merged 1 commits from bugfix/order into main 2025-02-23 15:41:38 +00:00
Showing only changes of commit 3db34f67c0 - Show all commits

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