From c7641b85e70f989c1f09fdfbd7b6bd855abb1d65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Fri, 16 Jun 2023 21:28:42 +0200 Subject: [PATCH] RVRNEXT-39 make main currency nullable --- src/PersistentData/Model/Community.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PersistentData/Model/Community.php b/src/PersistentData/Model/Community.php index 8419576..5a05ead 100644 --- a/src/PersistentData/Model/Community.php +++ b/src/PersistentData/Model/Community.php @@ -33,12 +33,12 @@ class Community extends ModelWithSlug $this->currency = $currency; } - public function setMainCurrency(Currency $mainCurrency): void + public function setMainCurrency(?Currency $mainCurrency): void { $this->mainCurrency = $mainCurrency; } - public function setMainCurrencyId(int $mainCurrencyId): void + public function setMainCurrencyId(?int $mainCurrencyId): void { $this->mainCurrencyId = $mainCurrencyId; }