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
This commit is contained in:
Fabien Potencier 2015-01-03 14:33:53 +01:00
commit 6de747e2ec
1 changed files with 4 additions and 2 deletions

View File

@ -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();