Fixing style errors.

This commit is contained in:
stickler-ci 2019-11-26 20:36:30 +00:00
parent bc1f9f5aaa
commit bba4ed02d2

View File

@ -363,12 +363,12 @@ class Users extends DolibarrApi
return 1; return 1;
} }
/** /**
* List Groups * List Groups
* *
* Return an array with a list of Groups * Return an array with a list of Groups
* *
* @url GET /groups * @url GET /groups
* *
* @param string $sortfield Sort field * @param string $sortfield Sort field
@ -443,12 +443,12 @@ class Users extends DolibarrApi
} }
return $obj_ret; return $obj_ret;
} }
/** /**
* Get properties of an user object * Get properties of an user object
* *
* Return an array with group informations * Return an array with group informations
* *
* @url GET /groups/{group} * @url GET /groups/{group}
* *
* @param int $id ID of group * @param int $id ID of group
@ -464,13 +464,13 @@ class Users extends DolibarrApi
} }
$group_static = new UserGroup($this->db); $group_static = new UserGroup($this->db);
$result = $group_static->fetch($group, '', $load_members); $result = $group_static->fetch($group, '', $load_members);
if (!$result) if (!$result)
{ {
throw new RestException(404, 'Group not found'); throw new RestException(404, 'Group not found');
} }
return $this->_cleanObjectDatas($group_static); return $this->_cleanObjectDatas($group_static);
} }