diff --git a/Tests/DependencyInjection/SecurityExtensionTest.php b/Tests/DependencyInjection/SecurityExtensionTest.php index d0f3549a..8607e45a 100644 --- a/Tests/DependencyInjection/SecurityExtensionTest.php +++ b/Tests/DependencyInjection/SecurityExtensionTest.php @@ -986,7 +986,7 @@ public function checkPreAuth(UserInterface $user): void { } - public function checkPostAuth(UserInterface $user): void + public function checkPostAuth(UserInterface $user, ?TokenInterface $token = null): void { } } diff --git a/Tests/SecurityTest.php b/Tests/SecurityTest.php index 82a444ef..9a126ae3 100644 --- a/Tests/SecurityTest.php +++ b/Tests/SecurityTest.php @@ -154,7 +154,7 @@ public function testLogin() ->method('getProvidedServices') ->willReturn([ 'security.authenticator.custom.dev' => $authenticator, - 'security.authenticator.remember_me.main' => $authenticator + 'security.authenticator.remember_me.main' => $authenticator, ]) ; $firewallAuthenticatorLocator @@ -287,7 +287,7 @@ public function testLoginFailsWhenTooManyAuthenticatorsFound() ->method('getProvidedServices') ->willReturn([ 'security.authenticator.custom.main' => $authenticator, - 'security.authenticator.other.main' => $authenticator + 'security.authenticator.other.main' => $authenticator, ]) ;