mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix round() call for PHP 8.0
This commit is contained in:
@@ -105,7 +105,7 @@ class AvailableBudgetController extends Controller
|
||||
'currency_decimal_places' => $currency->decimal_places,
|
||||
'type' => 'line', // line, area or bar
|
||||
'yAxisID' => 0, // 0, 1, 2
|
||||
'entries' => [round($left, $currency->decimal_places)],
|
||||
'entries' => [round((float) $left, $currency->decimal_places)],
|
||||
],
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user