From 1c623c6d465758af3a3088c3dae51ee5d6eb3f46 Mon Sep 17 00:00:00 2001 From: Jannik Zschiesche Date: Tue, 10 Sep 2013 19:07:43 +0200 Subject: [PATCH] Fixed docblock in UserInterface::getSalt() This method can return null, too. See the line above: > "This can return null if the password was not encoded using a salt." --- 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 ed96ca9a57..f5bbde2fc6 100644 --- a/src/Symfony/Component/Security/Core/User/UserInterface.php +++ b/src/Symfony/Component/Security/Core/User/UserInterface.php @@ -64,7 +64,7 @@ interface UserInterface * * This can return null if the password was not encoded using a salt. * - * @return string The salt + * @return string|null The salt */ public function getSalt();