Skip to content

Commit 2e8a909

Browse files
committed
Remove FQCN type hints on properties
1 parent 6530589 commit 2e8a909

File tree

53 files changed

+119
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+119
-121
lines changed

Authentication/AuthenticationUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
class AuthenticationUtils
2525
{
26-
private RequestStack $requestStack;
26+
private $requestStack;
2727

2828
public function __construct(RequestStack $requestStack)
2929
{

Authentication/AuthenticatorManager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
class AuthenticatorManager implements AuthenticatorManagerInterface, UserAuthenticatorInterface
4747
{
4848
private iterable $authenticators;
49-
private TokenStorageInterface $tokenStorage;
50-
private EventDispatcherInterface $eventDispatcher;
49+
private $tokenStorage;
50+
private $eventDispatcher;
5151
private bool $eraseCredentials;
52-
private ?LoggerInterface $logger;
52+
private $logger;
5353
private string $firewallName;
5454
private bool $hideUserNotFoundExceptions;
5555
private array $requiredBadges;

Authentication/CustomAuthenticationFailureHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
class CustomAuthenticationFailureHandler implements AuthenticationFailureHandlerInterface
2222
{
23-
private AuthenticationFailureHandlerInterface $handler;
23+
private $handler;
2424

2525
/**
2626
* @param array $options Options for processing a successful authentication attempt

Authentication/CustomAuthenticationSuccessHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface
2222
{
23-
private AuthenticationSuccessHandlerInterface $handler;
23+
private $handler;
2424

2525
/**
2626
* @param array $options Options for processing a successful authentication attempt

Authenticator/AbstractPreAuthenticatedAuthenticator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
*/
3737
abstract class AbstractPreAuthenticatedAuthenticator implements InteractiveAuthenticatorInterface
3838
{
39-
private UserProviderInterface $userProvider;
40-
private TokenStorageInterface $tokenStorage;
39+
private $userProvider;
40+
private $tokenStorage;
4141
private string $firewallName;
42-
private ?LoggerInterface $logger;
42+
private $logger;
4343

4444
public function __construct(UserProviderInterface $userProvider, TokenStorageInterface $tokenStorage, string $firewallName, LoggerInterface $logger = null)
4545
{

Authenticator/Debug/TraceableAuthenticator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
*/
3030
final class TraceableAuthenticator implements AuthenticatorInterface, InteractiveAuthenticatorInterface, AuthenticationEntryPointInterface
3131
{
32-
private AuthenticatorInterface $authenticator;
33-
private ?Passport $passport = null;
32+
private $authenticator;
33+
private $passport = null;
3434
private ?float $duration = null;
35-
private ClassStub|string $stub;
35+
private $stub;
3636

3737
public function __construct(AuthenticatorInterface $authenticator)
3838
{

Authenticator/Debug/TraceableAuthenticatorManagerListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
final class TraceableAuthenticatorManagerListener extends AbstractListener
2626
{
27-
private AuthenticatorManagerListener $authenticationManagerListener;
27+
private $authenticationManagerListener;
2828
private array $authenticatorsInfo = [];
2929
private bool $hasVardumper;
3030

Authenticator/FormLoginAuthenticator.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
*/
4242
class FormLoginAuthenticator extends AbstractLoginFormAuthenticator
4343
{
44-
private HttpUtils $httpUtils;
45-
private UserProviderInterface $userProvider;
46-
private AuthenticationSuccessHandlerInterface $successHandler;
47-
private AuthenticationFailureHandlerInterface $failureHandler;
44+
private $httpUtils;
45+
private $userProvider;
46+
private $successHandler;
47+
private $failureHandler;
4848
private array $options;
49-
private HttpKernelInterface $httpKernel;
49+
private $httpKernel;
5050

5151
public function __construct(HttpUtils $httpUtils, UserProviderInterface $userProvider, AuthenticationSuccessHandlerInterface $successHandler, AuthenticationFailureHandlerInterface $failureHandler, array $options)
5252
{

Authenticator/HttpBasicAuthenticator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
class HttpBasicAuthenticator implements AuthenticatorInterface, AuthenticationEntryPointInterface
3535
{
3636
private string $realmName;
37-
private UserProviderInterface $userProvider;
38-
private ?LoggerInterface $logger;
37+
private $userProvider;
38+
private $logger;
3939

4040
public function __construct(string $realmName, UserProviderInterface $userProvider, LoggerInterface $logger = null)
4141
{

Authenticator/JsonLoginAuthenticator.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
class JsonLoginAuthenticator implements InteractiveAuthenticatorInterface
4747
{
4848
private array $options;
49-
private HttpUtils $httpUtils;
50-
private UserProviderInterface $userProvider;
51-
private PropertyAccessorInterface $propertyAccessor;
52-
private ?AuthenticationSuccessHandlerInterface $successHandler;
53-
private ?AuthenticationFailureHandlerInterface $failureHandler;
54-
private ?TranslatorInterface $translator = null;
49+
private $httpUtils;
50+
private $userProvider;
51+
private $propertyAccessor;
52+
private $successHandler;
53+
private $failureHandler;
54+
private $translator = null;
5555

5656
public function __construct(HttpUtils $httpUtils, UserProviderInterface $userProvider, AuthenticationSuccessHandlerInterface $successHandler = null, AuthenticationFailureHandlerInterface $failureHandler = null, array $options = [], PropertyAccessorInterface $propertyAccessor = null)
5757
{

0 commit comments

Comments
 (0)