From e3a5d2b839cfc4260a3997ccb4a878a300237af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 3 Feb 2019 16:39:48 +0100 Subject: [PATCH] get return array not int --- htdocs/user/class/api_users.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/user/class/api_users.class.php b/htdocs/user/class/api_users.class.php index 0458d2c98be..874e518511a 100644 --- a/htdocs/user/class/api_users.class.php +++ b/htdocs/user/class/api_users.class.php @@ -197,7 +197,9 @@ class Users extends DolibarrApi * * @param int $id Id of account to update * @param array $request_data Datas - * @return int + * @return array + * + * @throws RestException */ function put($id, $request_data = null) {