RVRNEXT-39 make main currency nullable
This commit is contained in:
parent
e122248a97
commit
c7641b85e7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user