Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Wycisk committed Jun 5, 2024
1 parent 2d1c3e8 commit b8cac2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rules/Role.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.'));
}
}
Expand Down

0 comments on commit b8cac2d

Please sign in to comment.