diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-01-03 10:49:59 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-01-03 11:04:03 +0100 |
commit | 62a9ffe55ff920fe8c5384cbedfbd0a2e0c1253d (patch) | |
tree | c18af2b7b2d29eeabb3497175e9d7b0fed7e6f60 /Core/Authentication | |
parent | 00cfda134e85ea2a8ca208139cc84c4bcd2a012d (diff) | |
download | symfony-security-62a9ffe55ff920fe8c5384cbedfbd0a2e0c1253d.zip symfony-security-62a9ffe55ff920fe8c5384cbedfbd0a2e0c1253d.tar.gz symfony-security-62a9ffe55ff920fe8c5384cbedfbd0a2e0c1253d.tar.bz2 |
[Security] fixed wrong phpdoc
Diffstat (limited to 'Core/Authentication')
-rw-r--r-- | Core/Authentication/Token/TokenInterface.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Core/Authentication/Token/TokenInterface.php b/Core/Authentication/Token/TokenInterface.php index fb9fd14..be90802 100644 --- a/Core/Authentication/Token/TokenInterface.php +++ b/Core/Authentication/Token/TokenInterface.php @@ -47,8 +47,10 @@ interface TokenInterface extends \Serializable /** * Returns a user representation. * - * @return mixed either returns an object which implements __toString(), or - * a primitive string is returned. + * @return mixed Can be a UserInterface instance, an object implementing a __toString method, + * or the username as a regular string + * + * @see AbstractToken::setUser() */ public function getUser(); |