Skip to content

Commit 8ea54b7

Browse files
CS fix
1 parent dc61639 commit 8ea54b7

11 files changed

+11
-11
lines changed

Authentication/AuthenticatorManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class AuthenticatorManager implements AuthenticatorManagerInterface, UserAuthent
5858
/**
5959
* @param AuthenticatorInterface[] $authenticators
6060
*/
61-
public function __construct(iterable $authenticators, TokenStorageInterface $tokenStorage, EventDispatcherInterface $eventDispatcher, string $firewallName, ?LoggerInterface $logger = null, bool $eraseCredentials = true, bool $hideUserNotFoundExceptions = true)
61+
public function __construct(iterable $authenticators, TokenStorageInterface $tokenStorage, EventDispatcherInterface $eventDispatcher, string $firewallName, LoggerInterface $logger = null, bool $eraseCredentials = true, bool $hideUserNotFoundExceptions = true)
6262
{
6363
$this->authenticators = $authenticators;
6464
$this->tokenStorage = $tokenStorage;

Authenticator/AbstractPreAuthenticatedAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ abstract class AbstractPreAuthenticatedAuthenticator implements InteractiveAuthe
4242
private $firewallName;
4343
private $logger;
4444

45-
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, ?LoggerInterface $logger = null)
45+
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, LoggerInterface $logger = null)
4646
{
4747
$this->userProvider = $userProvider;
4848
$this->tokenStorage = $tokenStorage;

Authenticator/HttpBasicAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class HttpBasicAuthenticator implements AuthenticatorInterface, AuthenticationEn
4141
private $userProvider;
4242
private $logger;
4343

44-
public function __construct(string $realmName, UserProviderInterface $userProvider, ?LoggerInterface $logger = null)
44+
public function __construct(string $realmName, UserProviderInterface $userProvider, LoggerInterface $logger = null)
4545
{
4646
$this->realmName = $realmName;
4747
$this->userProvider = $userProvider;

Authenticator/JsonLoginAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class JsonLoginAuthenticator implements InteractiveAuthenticatorInterface
6161
*/
6262
private $translator;
6363

64-
public function __construct(HttpUtils $httpUtils, UserProviderInterface $userProvider, ?AuthenticationSuccessHandlerInterface $successHandler = null, ?AuthenticationFailureHandlerInterface $failureHandler = null, array $options = [], ?PropertyAccessorInterface $propertyAccessor = null)
64+
public function __construct(HttpUtils $httpUtils, UserProviderInterface $userProvider, AuthenticationSuccessHandlerInterface $successHandler = null, AuthenticationFailureHandlerInterface $failureHandler = null, array $options = [], PropertyAccessorInterface $propertyAccessor = null)
6565
{
6666
$this->options = array_merge(['username_path' => 'username', 'password_path' => 'password'], $options);
6767
$this->httpUtils = $httpUtils;

Authenticator/Passport/Badge/PasswordUpgradeBadge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class PasswordUpgradeBadge implements BadgeInterface
3333
* @param string $plaintextPassword The presented password, used in the rehash
3434
* @param PasswordUpgraderInterface|null $passwordUpgrader The password upgrader, defaults to the UserProvider if null
3535
*/
36-
public function __construct(string $plaintextPassword, ?PasswordUpgraderInterface $passwordUpgrader = null)
36+
public function __construct(string $plaintextPassword, PasswordUpgraderInterface $passwordUpgrader = null)
3737
{
3838
$this->plaintextPassword = $plaintextPassword;
3939
$this->passwordUpgrader = $passwordUpgrader;

Authenticator/Passport/Badge/UserBadge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class UserBadge implements BadgeInterface
4545
* is thrown). If this is not set, the default user provider will be used with
4646
* $userIdentifier as username.
4747
*/
48-
public function __construct(string $userIdentifier, ?callable $userLoader = null)
48+
public function __construct(string $userIdentifier, callable $userLoader = null)
4949
{
5050
$this->userIdentifier = $userIdentifier;
5151
$this->userLoader = $userLoader;

Authenticator/RemoteUserAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class RemoteUserAuthenticator extends AbstractPreAuthenticatedAuthenticator
3232
{
3333
private $userKey;
3434

35-
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, string $userKey = 'REMOTE_USER', ?LoggerInterface $logger = null)
35+
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, string $userKey = 'REMOTE_USER', LoggerInterface $logger = null)
3636
{
3737
parent::__construct($userProvider, $tokenStorage, $firewallName, $logger);
3838

Authenticator/X509Authenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class X509Authenticator extends AbstractPreAuthenticatedAuthenticator
3232
private $userKey;
3333
private $credentialsKey;
3434

35-
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, string $userKey = 'SSL_CLIENT_S_DN_Email', string $credentialsKey = 'SSL_CLIENT_S_DN', ?LoggerInterface $logger = null)
35+
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, string $userKey = 'SSL_CLIENT_S_DN_Email', string $credentialsKey = 'SSL_CLIENT_S_DN', LoggerInterface $logger = null)
3636
{
3737
parent::__construct($userProvider, $tokenStorage, $firewallName, $logger);
3838

Event/LoginFailureEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class LoginFailureEvent extends Event
3535
private $firewallName;
3636
private $passport;
3737

38-
public function __construct(AuthenticationException $exception, AuthenticatorInterface $authenticator, Request $request, ?Response $response, string $firewallName, ?PassportInterface $passport = null)
38+
public function __construct(AuthenticationException $exception, AuthenticatorInterface $authenticator, Request $request, ?Response $response, string $firewallName, PassportInterface $passport = null)
3939
{
4040
$this->exception = $exception;
4141
$this->authenticator = $authenticator;

EventListener/RememberMeListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class RememberMeListener implements EventSubscriberInterface
3636
private $rememberMeServices;
3737
private $logger;
3838

39-
public function __construct(RememberMeServicesInterface $rememberMeServices, ?LoggerInterface $logger = null)
39+
public function __construct(RememberMeServicesInterface $rememberMeServices, LoggerInterface $logger = null)
4040
{
4141
$this->rememberMeServices = $rememberMeServices;
4242
$this->logger = $logger;

0 commit comments

Comments
 (0)