Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-09 00:03:03 -04:00
parent 8d4d610b82
commit b5fd4a4ca1
1414 changed files with 11317 additions and 10201 deletions
+3 -2
View File
@@ -16,8 +16,8 @@ class IpBanQueryService
$query->where('blocked_until', '>', $this->utcNow());
}
if (!empty($filters['search'])) {
$term = '%' . trim((string) $filters['search']) . '%';
if (! empty($filters['search'])) {
$term = '%'.trim((string) $filters['search']).'%';
$query->where('ip_address', 'like', $term);
}
@@ -41,6 +41,7 @@ class IpBanQueryService
if (function_exists('utc_now')) {
return (string) utc_now();
}
return now('UTC')->toDateTimeString();
}
}