@@ -93,7 +93,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -169,8 +169,8 @@ |
||
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 | } |