- Add array_reverse

This commit is contained in:
Vincent BRIDIER 2022-02-09 14:43:05 +00:00
parent 7fd62e5cc3
commit 5cfd19e563

View file

@ -52,7 +52,7 @@ class UserController extends Controller
$stats[sprintf("%d/%d", $i, $i + 1)] = $datas;
}
return view('users.stats', ['stats' => $stats]);
return view('users.stats', ['stats' => array_reverse($stats)]);
}
private function getLastDayFebruary($year)