mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 06:44:59 +00:00
fixes after merge of master into upgrade-sf4
This commit is contained in:
@@ -47,8 +47,7 @@ final class PermissionsGroupController extends AbstractController
|
||||
private readonly EntityManagerInterface $em,
|
||||
private readonly PermissionsGroupRepository $permissionsGroupRepository,
|
||||
private readonly RoleScopeRepository $roleScopeRepository,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
/**
|
||||
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/admin/permissionsgroup/{id}/add_link_role_scope", name="admin_permissionsgroup_add_role_scope", methods={"PUT"})
|
||||
@@ -317,8 +316,8 @@ final class PermissionsGroupController extends AbstractController
|
||||
}
|
||||
|
||||
return strcmp(
|
||||
$translatableStringHelper->localize($a->getScope()->getName()),
|
||||
$translatableStringHelper->localize($b->getScope()->getName())
|
||||
(string) $translatableStringHelper->localize($a->getScope()->getName()),
|
||||
(string) $translatableStringHelper->localize($b->getScope()->getName())
|
||||
);
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user