8000 [Security] Fix phpdoc logout listener · symfony/symfony@e843924 · GitHub
[go: up one dir, main page]

Skip to content

Commit e843924

Browse files
ro0NLfabpot
authored andcommitted
[Security] Fix phpdoc logout listener
1 parent e0ff6e0 commit e843924

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
6969
* @param TokenStorageInterface $tokenStorage A TokenStorageInterface instance
7070
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
7171
* @param SessionAuthenticationStrategyInterface $sessionStrategy
72-
* @param HttpUtils $httpUtils An HttpUtilsInterface instance
72+
* @param HttpUtils $httpUtils An HttpUtils instance
7373
* @param string $providerKey
7474
* @param AuthenticationSuccessHandlerInterface $successHandler
7575
* @param AuthenticationFailureHandlerInterface $failureHandler
7676
* @param array $options An array of options for the processing of a
7777
* successful, or failed authentication attempt
78-
* @param LoggerInterface $logger A LoggerInterface instance
79-
* @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance
78+
* @param LoggerInterface|null $logger A LoggerInterface instance
79+
* @param EventDispatcherInterface|null $dispatcher An EventDispatcherInterface instance
8080
*
8181
* @throws \InvalidArgumentException
8282
*/

src/Symfony/Component/Security/Http/Firewall/LogoutListener.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ class LogoutListener implements ListenerInterface
4242
/**
4343
* Constructor.
4444
*
45-
* @param TokenStorageInterface $tokenStorage
46-
* @param HttpUtils $httpUtils An HttpUtilsInterface instance
47-
* @param LogoutSuccessHandlerInterface $successHandler A LogoutSuccessHandlerInterface instance
48-
* @param array $options An array of options to process a logout attempt
49-
* @param CsrfTokenManagerInterface $csrfTokenManager A CsrfTokenManagerInterface instance
45+
* @param TokenStorageInterface $tokenStorage
46+
* @param HttpUtils $httpUtils An HttpUtils instance
47+
* @param LogoutSuccessHandlerInterface $successHandler A LogoutSuccessHandlerInterface instance
48+
* @param array $options An array of options to process a logout attempt
49+
* @param CsrfTokenManagerInterface|null $csrfTokenManager A CsrfTokenManagerInterface instance
5050
*/
5151
public function __construct(TokenStorageInterface $tokenStorage, HttpUtils $httpUtils, LogoutSuccessHandlerInterface $successHandler, array $options = array(), $csrfTokenManager = null)
5252
{

src/Symfony/Component/Security/Http/Firewall/RememberMeListener.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ class RememberMeListener implements ListenerInterface
4141
/**
4242
* Constructor.
4343
*
44-
* @param TokenStorageInterface $tokenStorage
45-
* @param RememberMeServicesInterface $rememberMeServices
46-
* @par 8000 am AuthenticationManagerInterface $authenticationManager
47-
* @param LoggerInterface $logger
48-
* @param EventDispatcherInterface $dispatcher
49-
* @param bool $catchExceptions
50-
* @param SessionAuthenticationStrategyInterface $sessionStrategy
44+
* @param TokenStorageInterface $tokenStorage
45+
* @param RememberMeServicesInterface $rememberMeServices
46+
* @param AuthenticationManagerInterface $authenticationManager
47+
* @param LoggerInterface|null $logger
48+
* @param EventDispatcherInterface|null $dispatcher
49+
* @param bool $catchExceptions
50+
* @param SessionAuthenticationStrategyInterface|null $sessionStrategy
5151
*/
5252
public function __construct(TokenStorageInterface $tokenStorage, RememberMeServicesInterface $rememberMeServices, AuthenticationManagerInterface $authenticationManager, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, $catchExceptions = true, SessionAuthenticationStrategyInterface $sessionStrategy = null)
5353
{

src/Symfony/Component/Security/Http/Firewall/SimpleFormAuthenticationListener.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,16 @@ class SimpleFormAuthenticationListener extends AbstractAuthenticationListener
4444
* @param TokenStorageInterface $tokenStorage A TokenStorageInterface instance
4545
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
4646
* @param SessionAuthenticationStrategyInterface $sessionStrategy
47-
* @param HttpUtils $httpUtils An HttpUtilsInterface instance
47+
* @param HttpUtils $httpUtils An HttpUtils instance
4848
* @param string $providerKey
4949
* @param AuthenticationSuccessHandlerInterface $successHandler
5050
* @param AuthenticationFailureHandlerInterface $failureHandler
5151
* @param array $options An array of options for the processing of a
5252
* successful, or failed authentication attempt
53-
* @param LoggerInterface $logger A LoggerInterface instance
54-
* @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance
55-
* @param CsrfTokenManagerInterface $csrfTokenManager A CsrfTokenManagerInterface instance
56-
* @param SimpleFormAuthenticatorInterface $simpleAuthenticator A SimpleFormAuthenticatorInterface instance
53+
* @param LoggerInterface|null $logger A LoggerInterface instance
54+
* @param EventDispatcherInterface|null $dispatcher An EventDispatcherInterface instance
55+
* @param CsrfTokenManagerInterface|null $csrfTokenManager A CsrfTokenManagerInterface instance
56+
* @param SimpleFormAuthenticatorInterface|null $simpleAuthenticator A SimpleFormAuthenticatorInterface instance
5757
*
5858
* @throws \InvalidArgumentException In case no simple authenticator is provided
5959
* @throws InvalidArgumentException In case an invalid CSRF token manager is passed

src/Symfony/Component/Security/Http/Firewall/SimplePreAuthenticationListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ class SimplePreAuthenticationListener implements ListenerInterface
4646
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
4747
* @param string $providerKey
4848
* @param SimplePreAuthenticatorInterface $simpleAuthenticator A SimplePreAuthenticatorInterface instance
49-
* @param LoggerInterface $logger A LoggerInterface instance
50-
* @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance
49+
* @param LoggerInterface|null $logger A LoggerInterface instance
50+
* @param EventDispatcherInterface|null $dispatcher An EventDispatcherInterface instance
5151
*/
5252
public function __construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, $providerKey, SimplePreAuthenticatorInterface $simpleAuthenticator, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
5353
{

0 commit comments

Comments
 (0)
0