Skip to content

Commit

Permalink
fixed static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
sammyskills committed Aug 16, 2023
1 parent f962bcd commit d7ea844
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Authorization/Traits/Authorizable.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,10 @@ public function hasPermission(string $permission): bool

/**
* Checks user permissions and their group permissions
* to see if the user has a specific permission.
* to see if the user has a specific permission or group
* of permissions.
*
* @param string $permission string(s) consisting of a scope and action, like `users.create`
* @param string $permissions string(s) consisting of a scope and action, like `users.create`
*/
public function can(string ...$permissions): bool
{
Expand Down

0 comments on commit d7ea844

Please sign in to comment.