diff options
Diffstat (limited to 'Core/User/UserInterface.php')
-rw-r--r-- | Core/User/UserInterface.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Core/User/UserInterface.php b/Core/User/UserInterface.php index ed96ca9..1b52dab 100644 --- a/Core/User/UserInterface.php +++ b/Core/User/UserInterface.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Security\Core\User; +use Symfony\Component\Security\Core\Role\Role; + /** * Represents the interface that all user classes must implement. * @@ -64,7 +66,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(); @@ -80,8 +82,6 @@ interface UserInterface * * This is important if, at any given point, sensitive information like * the plain-text password is stored on this object. - * - * @return void */ public function eraseCredentials(); } |