Skip to content

Commit

Permalink
Update querying-relationships.md (#678)
Browse files Browse the repository at this point in the history
#Roles & Permissions Absence
I think there is a mistake on the query of User::whereDoesntHavePermission()->get(), i believe it should be User::whereDoesntHavePermission()->get()
  • Loading branch information
Ora-Kool authored Aug 27, 2024
1 parent fcaf38f commit 5c6f1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/8.x/usage/querying-relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ To retrive all the users that don't have any roles or permissions you can use:
```php
User::whereDoesntHaveRoles()->get();

User::whereDoesntHavePermission()->get();
User::whereDoesntHavePermissions()->get();
```

0 comments on commit 5c6f1b4

Please sign in to comment.