Skip to content

Commit 00eba93

Browse files
committed
[PHPDoc] Fix some union type cases
1 parent 19a7caa commit 00eba93

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)