Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Entity/Checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/Entity/CheckoutInternal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down