@@ -73,7 +73,9 @@ |
||
73 | 73 | public function getSignedStartBalance() |
74 | 74 | { |
75 | 75 | $s = 1; |
76 | - if ($this->getCreditDebit() == self::CD_DEBIT) $s = -1; |
|
76 | + if ($this->getCreditDebit() == self::CD_DEBIT) { |
|
77 | + $s = -1; |
|
78 | + } |
|
77 | 79 | return $s * $this->getStartBalance(); |
78 | 80 | |
79 | 81 | } |
@@ -147,7 +147,9 @@ |
||
147 | 147 | } |
148 | 148 | } |
149 | 149 | $statement['transactions'] = $transactions; |
150 | - if (count($transactions) > 0) $result[] = $statement; |
|
150 | + if (count($transactions) > 0) { |
|
151 | + $result[] = $statement; |
|
152 | + } |
|
151 | 153 | } |
152 | 154 | |
153 | 155 | return $result; |