Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 21d3991

Browse files
committed
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
2 parents 63e8574 + 62a9ffe commit 21d3991

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Core/Authentication/Token/TokenInterface.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ public function getCredentials();
4747
/**
4848
* Returns a user representation.
4949
*
50-
* @return mixed either returns an object which implements __toString(), or
51-
* a primitive string is returned.
50+
* @return mixed Can be a UserInterface instance, an object implementing a __toString method,
51+
* or the username as a regular string
52+
*
53+
* @see AbstractToken::setUser()
5254
*/
5355
public function getUser();
5456

0 commit comments

Comments
 (0)