Skip to content

Commit

Permalink
[Docs] fix typo in example
Browse files Browse the repository at this point in the history
  • Loading branch information
drbyte committed Oct 23, 2023
1 parent a36dfda commit 54a78e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basic-usage/super-admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 54a78e7

Please sign in to comment.