mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 23:28:20 +00:00
Various phpstan fixes.
This commit is contained in:
@@ -186,7 +186,7 @@ class ExpenseReportController extends Controller
|
||||
$newSet = [];
|
||||
foreach ($chartData as $key => $entry) {
|
||||
// TODO not sure, this is a bad comparison.
|
||||
if (0 === !array_sum($entry['entries'])) {
|
||||
if (array_sum($entry['entries']) > 0) {
|
||||
$newSet[$key] = $entry;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user