File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Symfony/Component/Security/Http/Tests/Authenticator Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 17
17
use Symfony \Component \Security \Core \Authentication \Token \TokenInterface ;
18
18
use Symfony \Component \Security \Http \Authenticator \AbstractLoginFormAuthenticator ;
19
19
use Symfony \Component \Security \Http \Authenticator \Passport \Badge \UserBadge ;
20
+ use Symfony \Component \Security \Http \Authenticator \Passport \Passport ;
20
21
use Symfony \Component \Security \Http \Authenticator \Passport \SelfValidatingPassport ;
21
22
22
23
class AbstractLoginFormAuthenticatorTest extends TestCase
@@ -109,7 +110,7 @@ protected function getLoginUrl(Request $request): string
109
110
return $ this ->loginUrl ;
110
111
}
111
112
112
- public function authenticate (Request $ request )
113
+ public function authenticate (Request $ request ): Passport
113
114
{
114
115
return new SelfValidatingPassport (new UserBadge ('dummy ' ));
115
116
}
You can’t perform that action at this time.
0 commit comments