Unrelated code cleanup.

This commit is contained in:
James Cole
2017-12-16 19:48:31 +01:00
parent 8176356509
commit 1d58d519a0
19 changed files with 52 additions and 50 deletions

View File

@@ -85,7 +85,7 @@ class BudgetController extends Controller
$start = Carbon::createFromFormat('Y-m-d', $request->get('start'));
$end = Carbon::createFromFormat('Y-m-d', $request->get('end'));
$budgetLimit = $this->repository->updateLimitAmount($budget, $start, $end, $amount);
if (bccomp($amount,'0') === 0) {
if (bccomp($amount, '0') === 0) {
$budgetLimit = null;
}