Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bc52d03

Browse filesBrowse files
committed
[Security] fixed wrong phpdoc
1 parent a7d5624 commit bc52d03
Copy full SHA for bc52d03

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed

‎src/Symfony/Component/Security/Core/Authentication/Token/TokenInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/Authentication/Token/TokenInterface.php
+4-2Lines 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
5254
*/
5355
public function getUser();
5456

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.