mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-11 17:39:41 +00:00
🤖 Auto commit for release 'develop' on 2025-10-05
This commit is contained in:
@@ -78,7 +78,8 @@ class AccountFactory
|
||||
if (!$type instanceof AccountType) {
|
||||
throw new FireflyException(sprintf('Cannot find account type "%s"', $accountType));
|
||||
}
|
||||
/** @var Account|null $return */
|
||||
|
||||
/** @var null|Account $return */
|
||||
$return = $this->user->accounts->where('account_type_id', $type->id)->where('name', $accountName)->first();
|
||||
|
||||
if (null === $return) {
|
||||
|
||||
Reference in New Issue
Block a user