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

@@ -48,7 +48,7 @@ class BudgetReportHelper implements BudgetReportHelperInterface
return $rep->budget_id == $budget->id;
}
);
$totalSpent = isset($allTotalSpent[$budget->id]) ? $allTotalSpent[$budget->id] : [];
$totalSpent = $allTotalSpent[$budget->id] ?? [];
// no repetition(s) for this budget:
if ($repetitions->count() == 0) {