Completed
Push — master ( a23113...3f274c )
by Sherif
02:17
created
src/Modules/Acl/Repositories/UserRepository.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Check if the logged in user has the given group.
63 63
      * 
64
-     * @param  string  $groupName
65
-     * @param  integer $userId
64
+     * @param  integer $user
65
+     * @param string[] $groups
66 66
      * @return boolean
67 67
      */
68 68
     public function hasGroup($groups, $user = false)
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      * 
156 156
      * @param  array   $credentials
157 157
      * @param  boolean $skipConfirmEmail
158
-     * @return array
158
+     * @return boolean
159 159
      */
160 160
     public function register($credentials, $skipConfirmEmail = false)
161 161
     {
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
      * Reset the given user's password.
247 247
      *
248 248
      * @param  array  $credentials
249
-     * @return array
249
+     * @return string|null
250 250
      */
251 251
     public function resetPassword($credentials)
252 252
     {
@@ -363,7 +363,6 @@  discard block
 block discarded – undo
363 363
     /**
364 364
      * Save the given data to the logged in user.
365 365
      *
366
-     * @param  array $credentials
367 366
      * @return void
368 367
      */
369 368
     public function saveProfile($data) 
Please login to merge, or discard this patch.