diff --git a/api/user.php b/api/user.php index 84bd0d9..1268bf0 100644 --- a/api/user.php +++ b/api/user.php @@ -69,10 +69,9 @@ class user extends cora\crud { * Updates a user. If the password is changed then it is re-hashed with * bcrypt and a new salt is generated. * - * @param int $id * @param array $attributes * - * @return int + * @return array */ public function update($attributes) { if(isset($attributes['password']) === true) {