Skip to content

Commit 57ad39e

Browse files
Philippe Segatorinicolas-grekas
authored andcommitted
Remove superfluous phpdoc tags
1 parent aa9fccf commit 57ad39e

10 files changed

+28
-50
lines changed

Authentication/DefaultAuthenticationSuccessHandler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandle
4040
];
4141

4242
/**
43-
* @param HttpUtils $httpUtils
44-
* @param array $options Options for processing a successful authentication attempt
43+
* @param array $options Options for processing a successful authentication attempt
4544
*/
4645
public function __construct(HttpUtils $httpUtils, array $options = [])
4746
{

EntryPoint/FormAuthenticationEntryPoint.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ class FormAuthenticationEntryPoint implements AuthenticationEntryPointInterface
2929
private $httpUtils;
3030

3131
/**
32-
* @param HttpKernelInterface $kernel
33-
* @param HttpUtils $httpUtils An HttpUtils instance
34-
* @param string $loginPath The path to the login form
35-
* @param bool $useForward Whether to forward or redirect to the login form
32+
* @param HttpUtils $httpUtils An HttpUtils instance
33+
* @param string $loginPath The path to the login form
34+
* @param bool $useForward Whether to forward or redirect to the login form
3635
*/
3736
public function __construct(HttpKernelInterface $kernel, HttpUtils $httpUtils, $loginPath, $useForward = false)
3837
{

Firewall/AbstractAuthenticationListener.php

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,14 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
6464
private $rememberMeServices;
6565

6666
/**
67-
* @param TokenStorageInterface $tokenStorage A TokenStorageInterface instance
68-
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
69-
* @param SessionAuthenticationStrategyInterface $sessionStrategy
70-
* @param HttpUtils $httpUtils An HttpUtils instance
71-
* @param string $providerKey
72-
* @param AuthenticationSuccessHandlerInterface $successHandler
73-
* @param AuthenticationFailureHandlerInterface $failureHandler
74-
* @param array $options An array of options for the processing of a
75-
* successful, or failed authentication attempt
76-
* @param LoggerInterface|null $logger A LoggerInterface instance
77-
* @param EventDispatcherInterface|null $dispatcher An EventDispatcherInterface instance
67+
* @param TokenStorageInterface $tokenStorage A TokenStorageInterface instance
68+
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
69+
* @param HttpUtils $httpUtils An HttpUtils instance
70+
* @param string $providerKey
71+
* @param array $options An array of options for the processing of a
72+
* successful, or failed authentication attempt
73+
* @param LoggerInterface|null $logger A LoggerInterface instance
74+
* @param EventDispatcherInterface|null $dispatcher An EventDispatcherInterface instance
7875
*
7976
* @throws \InvalidArgumentException
8077
*/

Firewall/LogoutListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class LogoutListener implements ListenerInterface
3838
private $csrfTokenManager;
3939

4040
/**
41-
* @param TokenStorageInterface $tokenStorage
4241
* @param HttpUtils $httpUtils An HttpUtils instance
4342
* @param LogoutSuccessHandlerInterface $successHandler A LogoutSuccessHandlerInterface instance
4443
* @param array $options An array of options to process a logout attempt

Firewall/RememberMeListener.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,7 @@ class RememberMeListener implements ListenerInterface
3939
private $sessionStrategy;
4040

4141
/**
42-
* @param TokenStorageInterface $tokenStorage
43-
* @param RememberMeServicesInterface $rememberMeServices
44-
* @param AuthenticationManagerInterface $authenticationManager
45-
* @param LoggerInterface|null $logger
46-
* @param EventDispatcherInterface|null $dispatcher
47-
* @param bool $catchExceptions
48-
* @param SessionAuthenticationStrategyInterface|null $sessionStrategy
42+
* @param bool $catchExceptions
4943
*/
5044
public function __construct(TokenStorageInterface $tokenStorage, RememberMeServicesInterface $rememberMeServices, AuthenticationManagerInterface $authenticationManager, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, $catchExceptions = true, SessionAuthenticationStrategyInterface $sessionStrategy = null)
5145
{

Firewall/SimpleFormAuthenticationListener.php

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,16 @@ class SimpleFormAuthenticationListener extends AbstractAuthenticationListener
3838
private $csrfTokenManager;
3939

4040
/**
41-
* @param TokenStorageInterface $tokenStorage A TokenStorageInterface instance
42-
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
43-
* @param SessionAuthenticationStrategyInterface $sessionStrategy
44-
* @param HttpUtils $httpUtils An HttpUtils instance
45-
* @param string $providerKey
46-
* @param AuthenticationSuccessHandlerInterface $successHandler
47-
* @param AuthenticationFailureHandlerInterface $failureHandler
48-
* @param array $options An array of options for the processing of a
49-
* successful, or failed authentication attempt
50-
* @param LoggerInterface|null $logger A LoggerInterface instance
51-
* @param EventDispatcherInterface|null $dispatcher An EventDispatcherInterface instance
52-
* @param CsrfTokenManagerInterface|null $csrfTokenManager A CsrfTokenManagerInterface instance
53-
* @param SimpleFormAuthenticatorInterface|null $simpleAuthenticator A SimpleFormAuthenticatorInterface instance
41+
* @param TokenStorageInterface $tokenStorage A TokenStorageInterface instance
42+
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
43+
* @param HttpUtils $httpUtils An HttpUtils instance
44+
* @param string $providerKey
45+
* @param array $options An array of options for the processing of a
46+
* successful, or failed authentication attempt
47+
* @param LoggerInterface|null $logger A LoggerInterface instance
48+
* @param EventDispatcherInterface|null $dispatcher An EventDispatcherInterface instance
49+
* @param CsrfTokenManagerInterface|null $csrfTokenManager A CsrfTokenManagerInterface instance
50+
* @param SimpleFormAuthenticatorInterface|null $simpleAuthenticator A SimpleFormAuthenticatorInterface instance
5451
*
5552
* @throws \InvalidArgumentException In case no simple authenticator is provided
5653
*/

Logout/DefaultLogoutSuccessHandler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ class DefaultLogoutSuccessHandler implements LogoutSuccessHandlerInterface
2626
protected $targetUrl;
2727

2828
/**
29-
* @param HttpUtils $httpUtils
30-
* @param string $targetUrl
29+
* @param string $targetUrl
3130
*/
3231
public function __construct(HttpUtils $httpUtils, $targetUrl = '/')
3332
{

Logout/LogoutUrlGenerator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public function __construct(RequestStack $requestStack = null, UrlGeneratorInter
4646
* @param string $csrfTokenId The ID of the CSRF token
4747
* @param string $csrfParameter The CSRF token parameter name
4848
* @param CsrfTokenManagerInterface|null $csrfTokenManager A CsrfTokenManagerInterface instance
49-
* @param string|null $context The listener context
5049
*/
5150
public function registerListener($key, $logoutPath, $csrfTokenId, $csrfParameter, CsrfTokenManagerInterface $csrfTokenManager = null/*, string $context = null*/)
5251
{

RememberMe/AbstractRememberMeServices.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
4444
private $userProviders;
4545

4646
/**
47-
* @param array $userProviders
4847
* @param string $secret
4948
* @param string $providerKey
50-
* @param array $options
5149
* @param LoggerInterface $logger
5250
*
5351
* @throws \InvalidArgumentException

Util/TargetPathTrait.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ trait TargetPathTrait
2323
*
2424
* Usually, you do not need to set this directly.
2525
*
26-
* @param SessionInterface $session
27-
* @param string $providerKey The name of your firewall
28-
* @param string $uri The URI to set as the target path
26+
* @param string $providerKey The name of your firewall
27+
* @param string $uri The URI to set as the target path
2928
*/
3029
private function saveTargetPath(SessionInterface $session, $providerKey, $uri)
3130
{
@@ -35,8 +34,7 @@ private function saveTargetPath(SessionInterface $session, $providerKey, $uri)
3534
/**
3635
* Returns the URL (if any) the user visited that forced them to login.
3736
*
38-
* @param SessionInterface $session
39-
* @param string $providerKey The name of your firewall
37+
* @param string $providerKey The name of your firewall
4038
*
4139
* @return string|null
4240
*/
@@ -48,8 +46,7 @@ private function getTargetPath(SessionInterface $session, $providerKey)
4846
/**
4947
* Removes the target path from the session.
5048
*
51-
* @param SessionInterface $session
52-
* @param string $providerKey The name of your firewall
49+
* @param string $providerKey The name of your firewall
5350
*/
5451
private function removeTargetPath(SessionInterface $session, $providerKey)
5552
{

0 commit comments

Comments
 (0)