Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
4435526b0e
commit
5ff2289eeb
@@ -98,9 +98,9 @@ class StatusPageController extends AbstractApiController
|
||||
|
||||
$allIncidents = Incident::with('component', 'updates.incident')
|
||||
->where('visible', '>=', (int) !Auth::check())->whereBetween('occurred_at', [
|
||||
$endDate->format('Y-m-d').' 00:00:00',
|
||||
$startDate->format('Y-m-d').' 23:59:59',
|
||||
])->orderBy('occurred_at', 'desc')->get()->groupBy(function (Incident $incident) {
|
||||
$endDate->format('Y-m-d').' 00:00:00',
|
||||
$startDate->format('Y-m-d').' 23:59:59',
|
||||
])->orderBy('occurred_at', 'desc')->get()->groupBy(function (Incident $incident) {
|
||||
return app(DateFactory::class)->make($incident->occurred_at)->toDateString();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user