@@ -179,7 +179,7 @@ |
||
179 | 179 | * |
180 | 180 | * @param string $loginName |
181 | 181 | * @param string $password |
182 | - * @return mixed the User object on success, false otherwise |
|
182 | + * @return string the User object on success, false otherwise |
|
183 | 183 | */ |
184 | 184 | public function checkPassword($loginName, $password) { |
185 | 185 | $loginName = str_replace("\0", '', $loginName); |
@@ -370,7 +370,7 @@ |
||
370 | 370 | * @param string $path path to the file which should be updated |
371 | 371 | * @param string $uid of the user who performs the operation |
372 | 372 | * @param array $accessList who has access to the file contains the key 'users' and 'public' |
373 | - * @return boolean |
|
373 | + * @return null|boolean |
|
374 | 374 | */ |
375 | 375 | public function update($path, $uid, array $accessList) { |
376 | 376 |