Skip to content

Commit 1d3fc10

Browse files
committed
minor #17525 Fixed the phpDoc of UserInterface (javiereguiluz)
This PR was merged into the 2.3 branch. Discussion ---------- Fixed the phpDoc of UserInterface | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #13037 | License | MIT | Doc PR | - #13037 is the original issue ... which was tried to be fixed in #13146 ... which was closed without merging it. Commits ------- 8e2a33e Fixed the phpDoc of UserInterface
2 parents d9f02fb + 8e2a33e commit 1d3fc10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Core/User/UserInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ interface UserInterface
4747
* and populated in any number of different ways when the user object
4848
* is created.
4949
*
50-
* @return Role[] The user roles
50+
* @return (Role|string)[] The user roles
5151
*/
5252
public function getRoles();
5353

0 commit comments

Comments
 (0)