[Security/Core] UserInterface::getPassword() can return null

This commit is contained in:
Nicolas Grekas 2019-08-20 15:10:28 +02:00
parent 55a484dc20
commit 00d7f8cde7

View File

@ -55,7 +55,7 @@ interface UserInterface
* This should be the encoded password. On authentication, a plain-text * This should be the encoded password. On authentication, a plain-text
* password will be salted, encoded, and then compared to this value. * password will be salted, encoded, and then compared to this value.
* *
* @return string The password * @return string|null The encoded password if any
*/ */
public function getPassword(); public function getPassword();