mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Fix a lot of phpstan things
This commit is contained in:
@@ -474,7 +474,7 @@ class TransactionJournalFactory
|
||||
private function getCurrency(?TransactionCurrency $currency, Account $account): TransactionCurrency
|
||||
{
|
||||
app('log')->debug('Now in getCurrency()');
|
||||
/** @var Preference|null $preference */
|
||||
/** @var TransactionCurrency|null $preference */
|
||||
$preference = $this->accountRepository->getAccountCurrency($account);
|
||||
if (null === $preference && null === $currency) {
|
||||
// return user's default:
|
||||
|
||||
Reference in New Issue
Block a user