8000 [Security] Fix `TraceableAuthenticator::createToken()` argument type · symfony/symfony@ea527e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit ea527e3

Browse files
Geordiechalasr
Geordie
authored andcommitted
[Security] Fix TraceableAuthenticator::createToken() argument type
1 parent 9efcba5 commit ea527e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Security/Http/Authenticator/Debug/TraceableAuthenticator.php

Lines changed: 1 addition & 2 deletions
< A191 col width="100%"/>
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Symfony\Component\Security\Guard\Authenticator\GuardBridgeAuthenticator;
1919
use Symfony\Component\Security\Http\Authenticator\AuthenticatorInterface;
2020
use Symfony\Component\Security\Http\Authenticator\InteractiveAuthenticatorInterface;
21-
use Symfony\Component\Security\Http\Authenticator\Passport\Passport;
2221
use Symfony\Component\Security\Http\Authenticator\Passport\PassportInterface;
2322
use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface;
2423
use Symfony\Component\Security\Http\EntryPoint\Exception\NotAnEntryPointException;
@@ -67,7 +66,7 @@ public function authenticate(Request $request): PassportInterface
6766
return $this->passport;
6867
}
6968

70-
public function createToken(Passport $passport, string $firewallName): TokenInterface
69+
public function createToken(PassportInterface $passport, string $firewallName): TokenInterface
7170
{
7271
return method_exists($this->authenticator, 'createToken') ? $this->authenticator->createToken($passport, $firewallName) : $this->authenticator->createAuthenticatedToken($passport, $firewallName);
7372
}

0 commit comments

Comments
 (0)
0