Skip to content

Commit 871b8f9

Browse files
committed
[Security] Uncomment AuthenticatorInterface::authenticate() return type
1 parent 7537a03 commit 871b8f9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Authenticator/AuthenticatorInterface.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ public function supports(Request $request): ?bool;
4747
* a UserNotFoundException when the user cannot be found).
4848
*
4949
* @throws AuthenticationException
50-
*
51-
* @return Passport
5250
*/
53-
public function authenticate(Request $request); /*: Passport;*/
51+
public function authenticate(Request $request): Passport;
5452

5553
/**
5654
* Create an authenticated token for the given user.

0 commit comments

Comments
 (0)