Skip to content

Commit 1f12c28

Browse files
committed
[Security] removed $csrfTokenManager type hint from SimpleFormAuthenticationListener constructor argument
1 parent 456031a commit 1f12c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firewall/SimpleFormAuthenticationListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class SimpleFormAuthenticationListener extends AbstractAuthenticationListener
5656
* @throws \InvalidArgumentException In case no simple authenticator is provided
5757
* @throws InvalidArgumentException In case an invalid CSRF token manager is passed
5858
*/
59-
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)
59+
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)
6060
{
6161
if (!$simpleAuthenticator) {
6262
throw new \InvalidArgumentException('Missing simple authenticator');

0 commit comments

Comments
 (0)