diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-01-03 14:33:53 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-01-03 14:33:53 +0100 |
commit | 21d39918e40684006c679a53c528d361b3265b66 (patch) | |
tree | ebbcbb14d0ddda42e15358b998b3090f94048cee | |
parent | 63e85742d701e419e7544381336cd161388cce21 (diff) | |
parent | 62a9ffe55ff920fe8c5384cbedfbd0a2e0c1253d (diff) | |
download | symfony-security-21d39918e40684006c679a53c528d361b3265b66.zip symfony-security-21d39918e40684006c679a53c528d361b3265b66.tar.gz symfony-security-21d39918e40684006c679a53c528d361b3265b66.tar.bz2 |
minor #13211 [Security] fixed wrong phpdoc (fabpot)
This PR was merged into the 2.3 branch.
Discussion
----------
[Security] fixed wrong phpdoc
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #12597
| License | MIT
| Doc PR | n/a
Commits
-------
064062d [Security] fixed wrong phpdoc
-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(); |