Skip to content

Commit 415d8c5

Browse files
committed
Fix code examples in PHPDoc
1 parent 1034d2d commit 415d8c5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

User/UserInterface.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ interface UserInterface
3636
/**
3737
* Returns the roles granted to the user.
3838
*
39-
* <code>
40-
* public function getRoles()
41-
* {
42-
* return array('ROLE_USER');
43-
* }
44-
* </code>
39+
* public function getRoles()
40+
* {
41+
* return array('ROLE_USER');
42+
* }
4543
*
4644
* Alternatively, the roles might be stored on a ``roles`` property,
4745
* and populated in any number of different ways when the user object

0 commit comments

Comments
 (0)