Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Security] Fix type inupgradePassword#20990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:6.4fromSynxgz:patch-1
May 23, 2025

Conversation

Synxgz
Copy link
Contributor

@SynxgzSynxgz commentedMay 23, 2025
edited
Loading

Fix the wrong type for the methodupgradePassword according toPasswordUpgraderInterface.

It is wrong since the 6.0, the signature has changed fromPasswordAuthenticatedUserInterface|UserInterface toPasswordAuthenticatedUserInterface inPasswordUpgraderInterface.

Commit:symfony/symfony@30e2c00#diff-b31195679b81d7a86cf868774ef3bf74a79e8e059250db399531b989b4919bdeL17

Prevents PHP Error :

Compile Error: Declaration of App\Services\Security\EmailUserProvider::upgradePassword(Symfony\Component\Security\Core\User\UserInterface $user, string $newHashedPassword): void must be compatible with Symfony\Component\Security\Core\User\PasswordUpgraderInterface::upgradePassword(Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface $user, string $newHashedPassword): void

@javiereguiluz
Copy link
Member

Good catch Romain! Thanks ... and congrats on your first Symfony Docs contribution 🎉

Synxgz reacted with thumbs up emoji

@javiereguiluzjaviereguiluz merged commit6e01dc1 intosymfony:6.4May 23, 2025
3 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@xabbuhxabbuhxabbuh left review comments

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

4 participants
@Synxgz@javiereguiluz@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp