mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 19:43:49 +00:00
PHP CS Fixer updated (3.63.1 -> v3.64.0)
This commit is contained in:
@@ -33,7 +33,7 @@ class AuthorizationHelper implements AuthorizationHelperInterface
|
||||
private readonly LoggerInterface $logger,
|
||||
private readonly ScopeResolverDispatcher $scopeResolverDispatcher,
|
||||
private readonly UserACLAwareRepositoryInterface $userACLAwareRepository,
|
||||
private readonly ParentRoleHelper $parentRoleHelper
|
||||
private readonly ParentRoleHelper $parentRoleHelper,
|
||||
) {}
|
||||
|
||||
/**
|
||||
|
@@ -17,7 +17,7 @@ final readonly class DefaultVoterHelper implements VoterHelperInterface
|
||||
{
|
||||
public function __construct(
|
||||
private AuthorizationHelper $authorizationHelper,
|
||||
private array $configuration
|
||||
private array $configuration,
|
||||
) {}
|
||||
|
||||
public function supports($attribute, $subject): bool
|
||||
|
@@ -30,7 +30,7 @@ class ParentRoleHelper
|
||||
|
||||
public function __construct(
|
||||
protected RoleHierarchyInterface $roleHierarchy,
|
||||
ParameterBagInterface $parameterBag
|
||||
ParameterBagInterface $parameterBag,
|
||||
) {
|
||||
$this->hierarchy = $parameterBag->get('security.role_hierarchy.roles');
|
||||
}
|
||||
|
@@ -47,7 +47,7 @@ class RecoverPasswordHelper
|
||||
array $templateParameters = [],
|
||||
$force = false,
|
||||
array $additionalUrlParameters = [],
|
||||
$emailSubject = 'Recover your password'
|
||||
$emailSubject = 'Recover your password',
|
||||
) {
|
||||
if (null === $user->getEmail() || '' === trim($user->getEmail())) {
|
||||
throw new \UnexpectedValueException('No emaail associated to the user');
|
||||
|
@@ -25,7 +25,7 @@ class RoleProvider
|
||||
/**
|
||||
* @var iterable<ProvideRoleInterface>
|
||||
*/
|
||||
private readonly iterable $providers
|
||||
private readonly iterable $providers,
|
||||
) {}
|
||||
|
||||
public function getRoles(): array
|
||||
|
Reference in New Issue
Block a user