Skip to content

Commit 54f7375

Browse files
committed
minor #40728 [PHPDoc] Fix some union type cases (fancyweb)
This PR was merged into the 4.4 branch. Discussion ---------- [PHPDoc] Fix some union type cases | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - While working on symfony/symfony#40154, I discovered some PHPDoc issues, I'm going to comment in the review. Upper branches will need some fixes too. Commits ------- dd1481642b [PHPDoc] Fix some union type cases
2 parents 8f5dbd8 + 00eba93 commit 54f7375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

User/UserInterface.php

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

0 commit comments

Comments
 (0)