mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-19 16:10:00 +00:00
Code cleanup that (hopefully) matches style CI
This commit is contained in:
@@ -83,7 +83,7 @@ class AvailableBudgetController extends Controller
|
||||
$spent = $spentInfo['amount'];
|
||||
}
|
||||
}
|
||||
$left = bcadd($availableBudget->amount, (string)$spent);
|
||||
$left = bcadd($availableBudget->amount, (string) $spent);
|
||||
// left less than zero? Set to zero.
|
||||
if (-1 === bccomp($left, '0')) {
|
||||
$left = '0';
|
||||
|
||||
Reference in New Issue
Block a user