Small code cleanup.

This commit is contained in:
James Cole
2016-12-27 19:34:05 +01:00
parent 3bacbe8536
commit 6c5499e848
4 changed files with 13 additions and 12 deletions

View File

@@ -174,10 +174,8 @@ class VerifyDatabase extends Command
$configuration = [
// a withdrawal can not have revenue account:
TransactionType::WITHDRAWAL => [AccountType::REVENUE],
// deposit cannot have an expense account:
TransactionType::DEPOSIT => [AccountType::EXPENSE],
// transfer cannot have either:
TransactionType::TRANSFER => [AccountType::EXPENSE, AccountType::REVENUE],
];