mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -31,13 +31,10 @@ class ParentRoleHelper
|
||||
*/
|
||||
protected array $hierarchy;
|
||||
|
||||
protected RoleHierarchyInterface $roleHierarchy;
|
||||
|
||||
public function __construct(
|
||||
RoleHierarchyInterface $roleHierarchy,
|
||||
protected RoleHierarchyInterface $roleHierarchy,
|
||||
ParameterBagInterface $parameterBag
|
||||
) {
|
||||
$this->roleHierarchy = $roleHierarchy;
|
||||
$this->hierarchy = $parameterBag->get('security.role_hierarchy.roles');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user