Skip to content

Commit

Permalink
fix(stockAvailable): change bool to int for outOfStock
Browse files Browse the repository at this point in the history
  • Loading branch information
rem42 committed Jul 8, 2021
1 parent 3f38d44 commit 6897980
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Entity/PrestashopStockAvailable.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class PrestashopStockAvailable

private ?int $dependsOnStock = null;

private ?bool $outOfStock = null;
private ?int $outOfStock = null;

public function getId(): ?int
{
Expand Down Expand Up @@ -104,12 +104,12 @@ public function setDependsOnStock(?int $dependsOnStock): self
return $this;
}

public function getOutOfStock(): ?bool
public function getOutOfStock(): ?int
{
return $this->outOfStock;
}

public function setOutOfStock(?bool $outOfStock): self
public function setOutOfStock(?int $outOfStock): self
{
$this->outOfStock = $outOfStock;

Expand Down

0 comments on commit 6897980

Please sign in to comment.