Completed
Push — master ( 12d056...9bd6a3 )
by Patrick
17s
created
Auth/class.User.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * The groups the user is a part of
95 95
      *
96
-     * @return boolean|array The user's Auth\Group structures
96
+     * @return boolean The user's Auth\Group structures
97 97
      */
98 98
     public function getGroups()
99 99
     {
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
      *
577 577
      * @param stdClass $data The user's new data
578 578
      *
579
-     * @return boolean true if the user's data was changed, false otherwise
579
+     * @return boolean|null true if the user's data was changed, false otherwise
580 580
      */
581 581
     public function editUser($data)
582 582
     {
@@ -603,7 +603,7 @@  discard block
 block discarded – undo
603 603
     /**
604 604
      * Obtain the user's password reset hash
605 605
      *
606
-     * @return string|false A hash if available, false otherwise
606
+     * @return boolean A hash if available, false otherwise
607 607
      */
608 608
     public function getPasswordResetHash()
609 609
     {
Please login to merge, or discard this patch.
Auth/class.LDAPUser.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,8 +169,8 @@
 block discarded – undo
169 169
     {
170 170
         if(in_array($propName, $this->multiValueProps) && !is_array($value))
171 171
         {
172
-             $this->setField($propName, array($value));
173
-             return true;
172
+                $this->setField($propName, array($value));
173
+                return true;
174 174
         }
175 175
         return false;
176 176
     }
Please login to merge, or discard this patch.