These are the first commits that make FF require php 7.

This commit is contained in:
James Cole
2016-02-05 08:03:26 +01:00
parent baecc256f6
commit 554640c345
10 changed files with 20 additions and 20 deletions

View File

@@ -122,7 +122,7 @@ class BalanceLine
*/
public function leftOfRepetition()
{
$start = isset($this->budget->amount) ? $this->budget->amount : 0;
$start = $this->budget->amount ?? 0;
/** @var BalanceEntry $balanceEntry */
foreach ($this->getBalanceEntries() as $balanceEntry) {
$start += $balanceEntry->getSpent();