Various code cleanup.

This commit is contained in:
James Cole
2020-07-31 12:45:02 +02:00
parent 4b96558433
commit b302775c37
23 changed files with 23 additions and 13 deletions

View File

@@ -113,7 +113,7 @@ class AccountFactory
}
// fix virtual balance when it's empty
if ('' === (string)$databaseData['virtual_balance']) {
if ('' === (string) $databaseData['virtual_balance']) {
$databaseData['virtual_balance'] = null;
}
@@ -152,7 +152,6 @@ class AccountFactory
}
/**
*
* @param string $accountName
* @param string $accountType
*
@@ -198,7 +197,6 @@ class AccountFactory
* @param null|string $accountType
*
* @return AccountType|null
*
*/
protected function getAccountType(?int $accountTypeId, ?string $accountType): ?AccountType
{