From b7429a358f19c3e2b2f990ea3ed827609acf1f1e Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 19 Mar 2016 17:34:37 +0100 Subject: [PATCH] Code cleanup [skip ci] --- app/Repositories/Account/AccountRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.php index abec955c05..38abfd74c9 100644 --- a/app/Repositories/Account/AccountRepository.php +++ b/app/Repositories/Account/AccountRepository.php @@ -354,7 +354,7 @@ class AccountRepository implements AccountRepositoryInterface ->transactionTypes([TransactionType::OPENING_BALANCE]) ->orderBy('created_at', 'ASC') ->first(['transaction_journals.*']); - if(is_null($journal)) { + if (is_null($journal)) { return new TransactionJournal; }