From 00d7f8cde78577bc328cb626de49a87a70b288ea Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 20 Aug 2019 15:10:28 +0200 Subject: [PATCH] [Security/Core] UserInterface::getPassword() can return null --- src/Symfony/Component/Security/Core/User/UserInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Core/User/UserInterface.php b/src/Symfony/Component/Security/Core/User/UserInterface.php index 264e0c1aeb..58f6cfb3bb 100644 --- a/src/Symfony/Component/Security/Core/User/UserInterface.php +++ b/src/Symfony/Component/Security/Core/User/UserInterface.php @@ -55,7 +55,7 @@ interface UserInterface * This should be the encoded password. On authentication, a plain-text * 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();