Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c9dc567

Browse filesBrowse files
minor #42648 [Security] fix restrictive return annotation (nicolas-grekas)
This PR was merged into the 5.4 branch. Discussion ---------- [Security] fix restrictive return annotation | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - See #42513 (comment) for rationale. Commits ------- 974e4ba [Security] fix restrictive return annotation
2 parents 695a83b + 974e4ba commit c9dc567
Copy full SHA for c9dc567

File tree

1 file changed

+0
-3
lines changed
Filter options

1 file changed

+0
-3
lines changed

‎src/Symfony/Component/Security/Http/Authenticator/FormLoginAuthenticator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Authenticator/FormLoginAuthenticator.php
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ public function createAuthenticatedToken(PassportInterface $passport, string $fi
115115
return $this->createToken($passport, $firewallName);
116116
}
117117

118-
/**
119-
* @return UsernamePasswordToken
120-
*/
121118
public function createToken(Passport $passport, string $firewallName): TokenInterface
122119
{
123120
return new UsernamePasswordToken($passport->getUser(), $firewallName, $passport->getUser()->getRoles());

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.