mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-08 15:05:29 +00:00
Clean up code.
This commit is contained in:
@@ -92,7 +92,7 @@ class PiggyBankTransformer extends AbstractTransformer
|
||||
foreach ($currencyPreferences as $preference) {
|
||||
$currencyId = (int)$preference->data;
|
||||
$accountId = $preference->account_id;
|
||||
$currencies[$currencyId] = $currencies[$currencyId] ?? TransactionJournal::find($currencyId);
|
||||
$currencies[$currencyId] ??= TransactionJournal::find($currencyId);
|
||||
$this->currencies[$accountId] = $currencies[$currencyId];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user