8000 minor #43878 [Security] Uncomment `AuthenticatorInterface::authentica… · symfony/symfony@f7e1546 · GitHub
[go: up one dir, main page]

Skip to content 65FE

Commit f7e1546

Browse files
committed
minor #43878 [Security] Uncomment AuthenticatorInterface::authenticate() return type (chalasr)
This PR was merged into the 6.0 branch. Discussion ---------- [Security] Uncomment `AuthenticatorInterface::authenticate()` return type | Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 9330c19 [Security] Uncomment `AuthenticatorInterface::authenticate()` return type
2 parents 0cd2117 + 9330c19 commit f7e1546

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/Security/Http/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)
0