Skip to content

Commit 2acef25

Browse files
[Security/Core] UserInterface::getPassword() can return null
1 parent 9f6673e commit 2acef25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)