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:
@@ -17,14 +17,8 @@ use Symfony\Component\Security\Core\Security;
|
||||
|
||||
class AuthorizationHelperForCurrentUser implements AuthorizationHelperForCurrentUserInterface
|
||||
{
|
||||
private AuthorizationHelperInterface $authorizationHelper;
|
||||
|
||||
private Security $security;
|
||||
|
||||
public function __construct(AuthorizationHelperInterface $authorizationHelper, Security $security)
|
||||
public function __construct(private AuthorizationHelperInterface $authorizationHelper, private Security $security)
|
||||
{
|
||||
$this->authorizationHelper = $authorizationHelper;
|
||||
$this->security = $security;
|
||||
}
|
||||
|
||||
public function getReachableCenters(string $role, ?Scope $scope = null): array
|
||||
|
Reference in New Issue
Block a user