diff --git a/src/Service/RoleService.php b/src/Service/RoleService.php index 39d78c4..6b3bd36 100644 --- a/src/Service/RoleService.php +++ b/src/Service/RoleService.php @@ -22,7 +22,6 @@ namespace LmcRbac\Service; use LmcRbac\Identity\IdentityInterface; -use LmcRbac\Identity\IdentityProviderInterface; use LmcRbac\Role\RoleInterface; use LmcRbac\Role\RoleProviderInterface; use Traversable; @@ -70,7 +69,7 @@ public function getIdentityRoles(IdentityInterface $identity = null, mixed $cont * @param array|Traversable $roles * @return RoleInterface[] */ - private function convertRoles(iterable $roles): iterable + protected function convertRoles(iterable $roles): iterable { $collectedRoles = []; $toCollect = [];