mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Code cleanup
This commit is contained in:
@@ -71,7 +71,7 @@ class PiggyBankController extends Controller
|
||||
$sum = '0';
|
||||
/** @var PiggyBankEvent $entry */
|
||||
foreach ($set as $entry) {
|
||||
$label = $entry->date->formatLocalized(strval(trans('config.month_and_day')));
|
||||
$label = $entry->date->formatLocalized((string)trans('config.month_and_day'));
|
||||
$sum = bcadd($sum, $entry->amount);
|
||||
$chartData[$label] = $sum;
|
||||
}
|
||||
|
Reference in New Issue
Block a user