mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
[chore] fix phpstan errors.
This commit is contained in:
@@ -129,7 +129,7 @@ class PiggyBankUpdateRequest extends FormRequest
|
||||
$currencyId = (int) ($data['transaction_currency_id'] ?? 0);
|
||||
$currency = TransactionCurrency::find($currencyId);
|
||||
if (null === $currency) {
|
||||
return Amount::getDefaultCurrency();
|
||||
return Amount::getNativeCurrency();
|
||||
}
|
||||
|
||||
return $currency;
|
||||
|
Reference in New Issue
Block a user