mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Fix #7917, add missing return statement
This commit is contained in:
@@ -293,6 +293,7 @@ class AccountValidator
|
|||||||
$first = $this->accountRepository->findByName($accountName, $validTypes);
|
$first = $this->accountRepository->findByName($accountName, $validTypes);
|
||||||
if (null !== $first) {
|
if (null !== $first) {
|
||||||
app('log')->debug(sprintf('Name: Found %s account #%d ("%s", IBAN "%s")', $first->accountType->type, $first->id, $first->name, $first->iban ?? 'no iban'));
|
app('log')->debug(sprintf('Name: Found %s account #%d ("%s", IBAN "%s")', $first->accountType->type, $first->id, $first->name, $first->iban ?? 'no iban'));
|
||||||
|
return $first;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
app('log')->debug('Found nothing!');
|
app('log')->debug('Found nothing!');
|
||||||
|
Reference in New Issue
Block a user