From 503b143c91c85e873f9ff0fefbce77ecb96609cb Mon Sep 17 00:00:00 2001 From: Iain Date: Wed, 25 Sep 2024 17:38:28 +0000 Subject: [PATCH] [OBOL] Make price amount nullable Automatic commit for https://github.com/getparthenon/monorepo/commit/4e724ffaa350f27f86b265f496b13045aa7321ed --- src/Model/Price.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Model/Price.php b/src/Model/Price.php index 3aeccdb..8819ea7 100644 --- a/src/Model/Price.php +++ b/src/Model/Price.php @@ -32,7 +32,7 @@ class Price protected ?string $url = null; - private int $amount; + private ?int $amount; private string $currency; @@ -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; }