Completed
Pull Request — master (#44)
by Beñat
02:18
created
src/BenGorUser/User/Domain/Model/User.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/BenGorUser/User/Infrastructure/Persistence/SqlUserRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -362,7 +362,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.