Fix Pint formatting

This commit is contained in:
root
2026-06-09 01:25:14 -04:00
parent 6be4875c5e
commit 20a0b6c4e5
1485 changed files with 11318 additions and 10273 deletions
@@ -15,7 +15,7 @@ class NotificationUserListService
$sortDir = strtolower((string) ($filters['sort_dir'] ?? 'desc')) === 'asc' ? 'asc' : 'desc';
$allowedSorts = ['created_at', 'scheduled_at', 'priority'];
if (!in_array($sortBy, $allowedSorts, true)) {
if (! in_array($sortBy, $allowedSorts, true)) {
$sortBy = 'created_at';
}
@@ -40,7 +40,7 @@ class NotificationUserListService
}
$paginator = $query
->orderBy('notifications.' . $sortBy, $sortDir)
->orderBy('notifications.'.$sortBy, $sortDir)
->paginate($perPage, ['*'], 'page', $page);
return [