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
+1 -1
View File
@@ -26,7 +26,7 @@ class IpBanRequest extends ApiFormRequest
$validator->after(function (Validator $validator) {
$id = $this->input('id');
$ip = $this->input('ip');
if (!$id && !$ip) {
if (! $id && ! $ip) {
$validator->errors()->add('id', 'Either id or ip is required.');
}
});
@@ -28,7 +28,7 @@ class IpUnbanRequest extends ApiFormRequest
$ip = $this->input('ip');
$all = filter_var($this->input('all'), FILTER_VALIDATE_BOOLEAN);
if (!$all && !$id && !$ip) {
if (! $all && ! $id && ! $ip) {
$validator->errors()->add('id', 'Either id, ip, or all=true is required.');
}
});