mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
Fixed all problems related to strict types.
This commit is contained in:
@@ -406,8 +406,8 @@ class CategoryController extends Controller
|
||||
|
||||
while ($start <= $end) {
|
||||
$str = $start->format('Y-m-d');
|
||||
$spent = $spentArray[$str] ?? 0;
|
||||
$earned = $earnedArray[$str] ?? 0;
|
||||
$spent = $spentArray[$str] ?? '0';
|
||||
$earned = $earnedArray[$str] ?? '0';
|
||||
$date = Navigation::periodShow($start, '1D');
|
||||
$entries->push([clone $start, $date, $spent, $earned]);
|
||||
$start->addDay();
|
||||
|
Reference in New Issue
Block a user