Clean up various code.

This commit is contained in:
James Cole
2018-07-22 12:52:07 +02:00
parent d193a6aec4
commit d4ba014a8a
14 changed files with 171 additions and 95 deletions

View File

@@ -49,7 +49,7 @@ class AssetAccountIbans implements MapperInterface
if (\strlen($iban) > 0) {
$topList[$accountId] = $account->iban . ' (' . $account->name . ')';
}
if (0 === \strlen($iban)) {
if ('' === $iban) {
$list[$accountId] = $account->name;
}
}