@@ -29,7 +29,7 @@ |
||
29 | 29 | * @param string $param Parameters of URL (x=value1&y=value2) or may be a formated content with PUTALREADYFORMATED |
30 | 30 | * @param integer $followlocation 1=Follow location, 0=Do not follow |
31 | 31 | * @param string[] $addheaders Array of string to add into header. Example: ('Accept: application/xrds+xml', ....) |
32 | - * @return array Returns an associative array containing the response from the server array('content'=>response,'curl_error_no'=>errno,'curl_error_msg'=>errmsg...) |
|
32 | + * @return string Returns an associative array containing the response from the server array('content'=>response,'curl_error_no'=>errno,'curl_error_msg'=>errmsg...) |
|
33 | 33 | */ |
34 | 34 | function getURLContent($url,$postorget='GET',$param='',$followlocation=1,$addheaders=array()) |
35 | 35 | { |
@@ -536,7 +536,7 @@ |
||
536 | 536 | * Update a livraison line (only extrafields) |
537 | 537 | * |
538 | 538 | * @param int $id Id of line (livraison line) |
539 | - * @param array $array_options extrafields array |
|
539 | + * @param integer $array_options extrafields array |
|
540 | 540 | * @return int <0 if KO, >0 if OK |
541 | 541 | */ |
542 | 542 | function update_line($id, $array_options=0) |
@@ -334,7 +334,7 @@ |
||
334 | 334 | * |
335 | 335 | * @param string $selected Paper format pre-selected |
336 | 336 | * @param string $htmlname Name of HTML select field |
337 | - * @param string $filter Value to filter on code |
|
337 | + * @param integer $filter Value to filter on code |
|
338 | 338 | * @param int $showempty Add empty value |
339 | 339 | * @return string Return HTML output |
340 | 340 | */ |
@@ -416,7 +416,7 @@ |
||
416 | 416 | * Dans le cas d'une liste tous pays confondu, on affiche une rupture sur le pays. |
417 | 417 | * |
418 | 418 | * @param string $selected Code forme juridique a pre-selectionne |
419 | - * @param mixed $country_codeid 0=liste tous pays confondus, sinon code du pays a afficher |
|
419 | + * @param integer $country_codeid 0=liste tous pays confondus, sinon code du pays a afficher |
|
420 | 420 | * @param string $filter Add a SQL filter on list |
421 | 421 | * @return void |
422 | 422 | * @deprecated Use print xxx->select_juridicalstatus instead |
@@ -1067,7 +1067,7 @@ |
||
1067 | 1067 | * Supprime un utilisateur du module Congés Payés |
1068 | 1068 | * |
1069 | 1069 | * @param int $user_id ID de l'utilisateur à supprimer |
1070 | - * @return boolean Vrai si pas d'erreur, faut si Erreur |
|
1070 | + * @return boolean|null Vrai si pas d'erreur, faut si Erreur |
|
1071 | 1071 | */ |
1072 | 1072 | function deleteCPuser($user_id) { |
1073 | 1073 |
@@ -297,7 +297,7 @@ |
||
297 | 297 | * @param int $cusid Id of customer |
298 | 298 | * @param int $catid Id of category |
299 | 299 | * |
300 | - * @return mixed |
|
300 | + * @return Client |
|
301 | 301 | * |
302 | 302 | * @url GET /customer/{cusid}/addCategory/{catid} |
303 | 303 | */ |
@@ -132,7 +132,7 @@ |
||
132 | 132 | * Add a gant chart line |
133 | 133 | * |
134 | 134 | * @param string $tarr tarr |
135 | - * @param array $task Array with properties of one task |
|
135 | + * @param string $task Array with properties of one task |
|
136 | 136 | * @param Project $project_dependencies Project object |
137 | 137 | * @param int $level Level |
138 | 138 | * @param int $project_id Id of project |
@@ -562,7 +562,7 @@ |
||
562 | 562 | * Load object contact |
563 | 563 | * |
564 | 564 | * @param int $id id du contact |
565 | - * @param User $user Utilisateur (abonnes aux alertes) qui veut les alertes de ce contact |
|
565 | + * @param integer $user Utilisateur (abonnes aux alertes) qui veut les alertes de ce contact |
|
566 | 566 | * @param string $ref_ext External reference, not given by Dolibarr |
567 | 567 | * @return int -1 if KO, 0 if OK but not found, 1 if OK |
568 | 568 | */ |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * @param int $limit Limit for list |
103 | 103 | * @param int $page Page number |
104 | 104 | * @param int $mode Use this param to filter list |
105 | - * @param string $societe Thirdparty filter field |
|
105 | + * @param integer $societe Thirdparty filter field |
|
106 | 106 | * |
107 | 107 | * @url GET /order/list |
108 | 108 | * @return array Array of order objects |