Large commit to get rid of a lot of static methods.

This commit is contained in:
James Cole
2017-03-04 07:26:03 +01:00
parent d9aa074330
commit 45f4395f26
10 changed files with 11 additions and 11 deletions

View File

@@ -100,7 +100,7 @@ class Controller extends BaseController
*/
protected function isOpeningBalance(TransactionJournal $journal): bool
{
return TransactionJournal::transactionTypeStr($journal) === TransactionType::OPENING_BALANCE;
return $journal->transactionTypeStr() === TransactionType::OPENING_BALANCE;
}
/**