diff --git a/src/Entity/Checkout.php b/src/Entity/Checkout.php index 188837c..e6adaf1 100644 --- a/src/Entity/Checkout.php +++ b/src/Entity/Checkout.php @@ -14,7 +14,7 @@ class Checkout extends AbstractEntity protected bool $allowEmptyRelations; protected int $id; - protected bool $hasRedirects; + protected ?bool $hasRedirects; protected bool $isActive; protected bool $isBlueprint; protected bool $isExpired; @@ -43,12 +43,12 @@ public function id(): int return $this->id; } - public function hasRedirects(): bool + public function hasRedirects(): ?bool { return $this->hasRedirects; } - public function setHasRedirects(bool $hasRedirects): self + public function setHasRedirects(?bool $hasRedirects): self { $this->hasRedirects = $hasRedirects; diff --git a/src/Entity/CheckoutInternal.php b/src/Entity/CheckoutInternal.php index 93151f0..93585ee 100644 --- a/src/Entity/CheckoutInternal.php +++ b/src/Entity/CheckoutInternal.php @@ -71,7 +71,7 @@ public function setDeletedAt(?DateTimeImmutable $deletedAt): self /** * @internal */ - public function setHasRedirects(bool $hasRedirects): self + public function setHasRedirects(?bool $hasRedirects): self { $this->hasRedirects = $hasRedirects;