@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | * @param UserId $anId The id |
| 137 | 137 | * @param UserEmail $anEmail The email |
| 138 | 138 | * @param UserPassword $aPassword The encoded password |
| 139 | - * @param array $userRoles Array which contains the roles |
|
| 139 | + * @param UserRole[] $userRoles Array which contains the roles |
|
| 140 | 140 | * |
| 141 | 141 | * @return static |
| 142 | 142 | */ |
@@ -598,7 +598,7 @@ discard block |
||
| 598 | 598 | * This method is an extension point that it allows |
| 599 | 599 | * to add more roles easily in the domain. |
| 600 | 600 | * |
| 601 | - * @return array |
|
| 601 | + * @return string[] |
|
| 602 | 602 | */ |
| 603 | 603 | public static function availableRoles() |
| 604 | 604 | { |
@@ -362,7 +362,7 @@ |
||
| 362 | 362 | /** |
| 363 | 363 | * Transforms given user roles into encoded plain json array. |
| 364 | 364 | * |
| 365 | - * @param array $userRoles Array which contains the user roles |
|
| 365 | + * @param UserRole[] $userRoles Array which contains the user roles |
|
| 366 | 366 | * |
| 367 | 367 | * @return string |
| 368 | 368 | */ |