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; }