diff options
author | Choong Wei Tjeng <choong@bixels.nl> | 2014-04-25 08:45:45 +0200 |
---|---|---|
committer | Choong Wei Tjeng <choong@bixels.nl> | 2014-04-25 09:06:20 +0200 |
commit | 1f2b6d8dfea39071748becf040c8d8a23288e725 (patch) | |
tree | 810b9814571fd6c509bd87fe0d3af2deede82ee2 /Http | |
parent | 51da92e1e61e4ab73e5de664e6f8e22c59147deb (diff) | |
download | symfony-security-1f2b6d8dfea39071748becf040c8d8a23288e725.zip symfony-security-1f2b6d8dfea39071748becf040c8d8a23288e725.tar.gz symfony-security-1f2b6d8dfea39071748becf040c8d8a23288e725.tar.bz2 |
[Security] removed $csrfTokenManager type hint from SimpleFormAuthenticationListener constructor argumentv2.4.4
Diffstat (limited to 'Http')
-rw-r--r-- | Http/Firewall/SimpleFormAuthenticationListener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Firewall/SimpleFormAuthenticationListener.php b/Http/Firewall/SimpleFormAuthenticationListener.php index f97cd59..20ce4f2 100644 --- a/Http/Firewall/SimpleFormAuthenticationListener.php +++ b/Http/Firewall/SimpleFormAuthenticationListener.php @@ -56,7 +56,7 @@ class SimpleFormAuthenticationListener extends AbstractAuthenticationListener * @throws \InvalidArgumentException In case no simple authenticator is provided * @throws InvalidArgumentException In case an invalid CSRF token manager is passed */ - public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, SessionAuthenticationStrategyInterface $sessionStrategy, HttpUtils $httpUtils, $providerKey, AuthenticationSuccessHandlerInterface $successHandler, AuthenticationFailureHandlerInterface $failureHandler, array $options = array(), LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, CsrfTokenManagerInterface $csrfTokenManager = null, SimpleFormAuthenticatorInterface $simpleAuthenticator = null) + public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, SessionAuthenticationStrategyInterface $sessionStrategy, HttpUtils $httpUtils, $providerKey, AuthenticationSuccessHandlerInterface $successHandler, AuthenticationFailureHandlerInterface $failureHandler, array $options = array(), LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, $csrfTokenManager = null, SimpleFormAuthenticatorInterface $simpleAuthenticator = null) { if (!$simpleAuthenticator) { throw new \InvalidArgumentException('Missing simple authenticator'); |