Skip to content

Commit f1bfd88

Browse files
committed
minor symfony#52377 [SecurityBundle] Remove method for Sf 5.4 compatibility (OskarStark)
This PR was merged into the 7.0 branch. Discussion ---------- [SecurityBundle] Remove method for Sf 5.4 compatibility | Q | A | ------------- | --- | Branch? | 7.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | -- | License | MIT I am not sure if this is correct what I am doing here 🤔 If this is wrong, just close the PR, thanks Commits ------- afbdb63 Remove method for Sf 5.4 compatibility
2 parents b04d7b0 + afbdb63 commit f1bfd88

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)