Skip to content

Commit

Permalink
fix scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
daycry committed Jun 28, 2023
1 parent 874a000 commit 3d2d44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/Authorizable.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function can(string $scope): bool
$scopes = ($this->scopes) ? $this->scopes : [];

// Wildcard present
if (in_array('*', $this->scopes, true)) {
if (in_array('*', $scopes, true)) {
return true;
}

Expand Down

0 comments on commit 3d2d44b

Please sign in to comment.