From b8cac2db6c4844560248fb29c345ecd377d6e2ed Mon Sep 17 00:00:00 2001 From: Oliver Wycisk Date: Wed, 5 Jun 2024 15:54:08 +0200 Subject: [PATCH] Format --- src/Rules/Role.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rules/Role.php b/src/Rules/Role.php index a94e2e16..0f1f1c44 100644 --- a/src/Rules/Role.php +++ b/src/Rules/Role.php @@ -18,7 +18,7 @@ class Role implements ValidationRule */ public function validate(string $attribute, mixed $value, Closure $fail): void { - if(!in_array($value, array_keys(Jetstream::$roles))) { + if (! in_array($value, array_keys(Jetstream::$roles))) { $fail(__('The :attribute must be a valid role.')); } }