diff --git a/docs/basic-usage/super-admin.md b/docs/basic-usage/super-admin.md index fac0374a..35392772 100644 --- a/docs/basic-usage/super-admin.md +++ b/docs/basic-usage/super-admin.md @@ -47,7 +47,7 @@ use App\Models\User; // could be any model */ public function before(User $user, string $ability): bool|null { - if ($user->hasRole('Super Admin') { + if ($user->hasRole('Super Admin')) { return true; }