Skip to content

Commit

Permalink
Change visibility of convertRoles in RoleService.php to allow class e…
Browse files Browse the repository at this point in the history
…xtension

Signed-off-by: Eric Richer [email protected] <[email protected]>
  • Loading branch information
visto9259 committed Aug 6, 2024
1 parent cb26dbb commit a67700f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Service/RoleService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 = [];
Expand Down

0 comments on commit a67700f

Please sign in to comment.