mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-09 03:08:09 +00:00
Fix PHP7 related strict type check.
This commit is contained in:
@@ -30,7 +30,8 @@ class AssetAccount implements MapperInterface
|
|||||||
/** @var Account $account */
|
/** @var Account $account */
|
||||||
foreach ($result as $account) {
|
foreach ($result as $account) {
|
||||||
$name = $account->name;
|
$name = $account->name;
|
||||||
if (strlen($account->iban) > 0) {
|
$iban = $account->iban ?? '';
|
||||||
|
if (strlen($iban) > 0) {
|
||||||
$name .= ' (' . $account->iban . ')';
|
$name .= ' (' . $account->iban . ')';
|
||||||
}
|
}
|
||||||
$list[$account->id] = $name;
|
$list[$account->id] = $name;
|
||||||
|
|||||||
Reference in New Issue
Block a user