diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-01-03 15:48:25 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-01-03 15:48:25 +0100 |
commit | 99eaad2b772342dd09fd0498340bc2a675644082 (patch) | |
tree | c61320457daa64a0537df986409db18bdff54a3e /Core/Authentication | |
parent | 397955f27cb14ce8a39c9a25ee3f8527f580f0da (diff) | |
parent | 21d39918e40684006c679a53c528d361b3265b66 (diff) | |
download | symfony-security-99eaad2b772342dd09fd0498340bc2a675644082.zip symfony-security-99eaad2b772342dd09fd0498340bc2a675644082.tar.gz symfony-security-99eaad2b772342dd09fd0498340bc2a675644082.tar.bz2 |
Merge branch '2.3' into 2.5
* 2.3:
[ClassLoader] removes deprecated classes from documentation.
[Yaml] Update README.md
[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(); |