Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 03ac00a

Browse files
minor #33257 [Security/Core] UserInterface::getPassword() can return null (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [Security/Core] UserInterface::getPassword() can return null | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Our very own `User` class can return null already. Commits ------- 00d7f8cde7 [Security/Core] UserInterface::getPassword() can return null
2 parents 946d770 + e3c9fa5 commit 03ac00a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/User/UserInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getRoles();
5555
* This should be the encoded password. On authentication, a plain-text
5656
* password will be salted, encoded, and then compared to this value.
5757
*
58-
* @return string The password
58+
* @return string|null The encoded password if any
5959
*/
6060
public function getPassword();
6161

0 commit comments

Comments
 (0)