Skip to content

Commit

Permalink
[OBOL] Make price amount nullable
Browse files Browse the repository at this point in the history
Automatic commit for getparthenon/monorepo@4e724ff
  • Loading branch information
that-guy-iain committed Sep 25, 2024
1 parent 62f2ff1 commit 503b143
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Model/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Price

protected ?string $url = null;

private int $amount;
private ?int $amount;

private string $currency;

Expand Down Expand Up @@ -82,12 +82,12 @@ public function setUrl(?string $url): void
$this->url = $url;
}

public function getAmount(): int
public function getAmount(): ?int
{
return $this->amount;
}

public function setAmount(int $amount): void
public function setAmount(?int $amount): void
{
$this->amount = $amount;
}
Expand Down

0 comments on commit 503b143

Please sign in to comment.