From cda885701945c890fb44df67b13fb62ef39f421a Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Fri, 22 Jan 2021 08:33:26 -0500 Subject: [PATCH] Small documentation fix --- api/user.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {