Skip to content

Commit 383eede

Browse files
minor #60575 [Security] CleanUp UserInterface PHPDoc (Abdelhakim ABOULHAJ)
This PR was submitted for the 7.4 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Security] CleanUp UserInterface PHPDoc | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | -- | License | MIT This PR removes outdated or potentially misleading references to passwords from the PHPDoc comments in the UserInterface. Since the interface does not directly handle password logic, these mentions are unnecessary and could cause confusion for implementers. **Changes**: - Removed password-related text from PHPDoc comments in UserInterface. **Reasoning**: - Clarifies the responsibilities of UserInterface. - Ensures documentation is aligned with actual interface behavior. No functional code changes have been made—this is purely a documentation cleanup. Commits ------- e51a81a doc: update UserInterface header comments
2 parents 37a619f + e51a81a commit 383eede

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/Security/Core/User/UserInterface.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
* Represents the interface that all user classes must implement.
1616
*
1717
* This interface is useful because the authentication layer can deal with
18-
* the object through its lifecycle, using the object to get the hashed
19-
* password (for checking against a submitted password), assigning roles
20-
* and so on.
18+
* the object through its lifecycle, assigning roles and so on.
2119
*
2220
* Regardless of how your users are loaded or where they come from (a database,
2321
* configuration, web service, etc.), you will have a class that implements

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy