Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aboudeh87 committed Nov 13, 2023
1 parent 34325cd commit 6b44e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Roles And Permissions For Laravel 6,7 & 8
# Roles And Permissions For Laravel 6+

This package is forked from [bican/roles](https://github.com/romanbican/roles) package.

Expand Down Expand Up @@ -136,7 +136,7 @@ if ($user->isAdmin()) {
And of course, there is a way to check for multiple roles:

```php
if ($user->isRole('admin|moderator')) {
if ($user->isRole('admin|moderator')) {
/*
| Or alternatively:
| $user->isRole('admin, moderator'), $user->isRole(['admin', 'moderator']),
Expand Down

0 comments on commit 6b44e1b

Please sign in to comment.