Fixing style errors.

This commit is contained in:
stickler-ci 2021-09-28 18:29:50 +00:00
parent 1b71404225
commit 4d62aff8aa

View File

@ -1339,22 +1339,22 @@ class Setup extends DolibarrApi
return $list; return $list;
} }
/** /**
* Get the list of staff. * Get the list of staff.
* *
* @param string $sortfield Sort field * @param string $sortfield Sort field
* @param string $sortorder Sort order * @param string $sortorder Sort order
* @param int $limit Number of items per page * @param int $limit Number of items per page
* @param int $page Page number (starting from zero) * @param int $page Page number (starting from zero)
* @param int $active Staff is active or not {@min 0} {@max 1} * @param int $active Staff is active or not {@min 0} {@max 1}
* @param string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.code:like:'A%') and (t.active:>=:0)" * @param string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.code:like:'A%') and (t.active:>=:0)"
* @return array List of staff * @return array List of staff
* *
* @url GET dictionary/staff * @url GET dictionary/staff
* *
* @throws RestException * @throws RestException
*/ */
public function getListOfStaff($sortfield = "id", $sortorder = 'ASC', $limit = 100, $page = 0, $active = 1, $sqlfilters = '') public function getListOfStaff($sortfield = "id", $sortorder = 'ASC', $limit = 100, $page = 0, $active = 1, $sqlfilters = '')
{ {
$list = array(); $list = array();