File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1717use Symfony \Component \Security \Core \Authentication \Token \TokenInterface ;
1818use Symfony \Component \Security \Http \Authenticator \AbstractLoginFormAuthenticator ;
1919use Symfony \Component \Security \Http \Authenticator \Passport \Badge \UserBadge ;
20+ use Symfony \Component \Security \Http \Authenticator \Passport \Passport ;
2021use Symfony \Component \Security \Http \Authenticator \Passport \SelfValidatingPassport ;
2122
2223class AbstractLoginFormAuthenticatorTest extends TestCase
@@ -109,7 +110,7 @@ protected function getLoginUrl(Request $request): string
109110 return $ this ->loginUrl ;
110111 }
111112
112- public function authenticate (Request $ request )
113+ public function authenticate (Request $ request ): Passport
113114 {
114115 return new SelfValidatingPassport (new UserBadge ('dummy ' ));
115116 }
You can’t perform that action at this time.
0 commit comments