Declare variable as an empty array

This commit is contained in:
Ivan Nieto Vivanco 2023-02-28 10:22:49 -06:00
parent 23fe11c71e
commit 1be0a8d911

View file

@ -196,6 +196,7 @@ class StatuslabelsController extends Controller
{
$this->authorize('view', Statuslabel::class);
$statuslabels = Statuslabel::withCount('assets')->get();
$total = Array();
foreach ($statuslabels as $statuslabel) {