Skip to content

Commit afbdb63

Browse files
committed
Remove method for Sf 5.4 compatibility
1 parent f09847c commit afbdb63

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/Symfony/Component/Ldap/Security/LdapAuthenticator.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,6 @@ public function authenticate(Request $request): Passport
6565
return $passport;
6666
}
6767

68-
/**
69-
* @internal
70-
*/
71-
public function createAuthenticatedToken(PassportInterface $passport, string $firewallName): TokenInterface
72-
{
73-
throw new \BadMethodCallException(sprintf('The "%s()" method cannot be called.', __METHOD__));
74-
}
75-
7668
public function createToken(Passport $passport, string $firewallName): TokenInterface
7769
{
7870
return $this->authenticator->createToken($passport, $firewallName);

src/Symfony/Component/Security/Http/Tests/Fixtures/DummyAuthenticator.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,4 @@ public function onAuthenticationFailure(Request $request, AuthenticationExceptio
4646
{
4747
return null;
4848
}
49-
50-
public function createAuthenticatedToken(PassportInterface $passport, string $firewallName): TokenInterface
51-
{
52-
}
5349
}

0 commit comments

Comments
 (0)