Skip to content

Commit

Permalink
Update RightsTrait.php
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentmuller committed Jan 21, 2025
1 parent ae3e140 commit cee154f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/RightsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function __set(string $name, mixed $value): void
*
* @return FlagBag<EntityPermission>
*/
public function getPermission(EntityName $entity): FlagBag
public function getPermission(EntityName $entity): mixed
{
$offset = $entity->offset();
$rights = $this->getRights();
Expand Down

0 comments on commit cee154f

Please sign in to comment.