mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Some generic code refactoring.
This commit is contained in:
@@ -461,7 +461,7 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
*/
|
||||
public function isLiability(Account $account): bool
|
||||
{
|
||||
return \in_array($account->accountType->type, [AccountType::CREDITCARD, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE], true);
|
||||
return in_array($account->accountType->type, [AccountType::CREDITCARD, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE], true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user