mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
DX: fix cs
This commit is contained in:
@@ -121,7 +121,7 @@ class PermissionsGroup
|
||||
public function isRoleScopePresentOnce(ExecutionContextInterface $context)
|
||||
{
|
||||
$roleScopesId = array_map(
|
||||
static fn(RoleScope $roleScope) => $roleScope->getId(),
|
||||
static fn (RoleScope $roleScope) => $roleScope->getId(),
|
||||
$this->getRoleScopes()->toArray()
|
||||
);
|
||||
$countedIds = array_count_values($roleScopesId);
|
||||
|
Reference in New Issue
Block a user