diff --git a/core/modules/user/src/UserInterface.php b/core/modules/user/src/UserInterface.php index bbbacff5231..51c7601a792 100644 --- a/core/modules/user/src/UserInterface.php +++ b/core/modules/user/src/UserInterface.php @@ -98,8 +98,8 @@ interface UserInterface extends ContentEntityInterface, EntityChangedInterface, /** * Returns the hashed password. * - * @return string - * The hashed password. + * @return string|null + * The hashed password, or NULL if a password is not set. */ public function getPassword();