Skip to content

Commit 01590f1

Browse files
committed
fix signature compatibility
1 parent d8796c4 commit 01590f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Debug/Authenticator/TraceableAuthenticator.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ public function createToken(Passport $passport, string $firewallName): TokenInte
6868
return method_exists($this->authenticator, 'createToken') ? $this->authenticator->createToken($passport, $firewallName) : $this->authenticator->createAuthenticatedToken($passport, $firewallName);
6969
}
7070

71+
public function createAuthenticatedToken(Passport $passport, string $firewallName): TokenInterface
72+
{
73+
return $this->authenticator->createAuthenticatedToken($passport, $firewallName);
74+
}
75+
7176
public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $firewallName): ?Response
7277
{
7378
return $this->authenticator->onAuthenticationSuccess($request, $token, $firewallName);

0 commit comments

Comments
 (0)