diff --git a/htdocs/adherents/class/adherent_type.class.php b/htdocs/adherents/class/adherent_type.class.php index 65085caf42a..b87e6aa527e 100644 --- a/htdocs/adherents/class/adherent_type.class.php +++ b/htdocs/adherents/class/adherent_type.class.php @@ -56,7 +56,7 @@ class AdherentType extends CommonObject /** * @var string * @deprecated Use label - * @see label + * @see $label */ public $libelle; diff --git a/htdocs/bom/lib/bom.lib.php b/htdocs/bom/lib/bom.lib.php index 20f9fccfb01..b54a2e21b57 100644 --- a/htdocs/bom/lib/bom.lib.php +++ b/htdocs/bom/lib/bom.lib.php @@ -66,7 +66,7 @@ function bomAdminPrepareHead() /** * Prepare array of tabs for BillOfMaterials * - * @param BillOfMaterials $object BillOfMaterials + * @param BOM $object BillOfMaterials * @return array Array of tabs */ function bomPrepareHead($object) diff --git a/htdocs/cashdesk/class/Facturation.class.php b/htdocs/cashdesk/class/Facturation.class.php index f565e86aa1b..07d514b95f1 100644 --- a/htdocs/cashdesk/class/Facturation.class.php +++ b/htdocs/cashdesk/class/Facturation.class.php @@ -281,7 +281,7 @@ class Facturation * Getter for id * * @param int $aId Id - * @return id + * @return int Id */ public function id($aId = null) { @@ -542,8 +542,8 @@ class Facturation /** * Get payment date * - * @param date $aPaiementLe Date - * @return date Date + * @param integer $aPaiementLe Date + * @return integer Date */ public function paiementLe($aPaiementLe = null) { diff --git a/htdocs/core/class/CMailFile.class.php b/htdocs/core/class/CMailFile.class.php index 3c0e979cbed..ddb1bb0c6d0 100644 --- a/htdocs/core/class/CMailFile.class.php +++ b/htdocs/core/class/CMailFile.class.php @@ -1303,9 +1303,9 @@ class CMailFile * This function has been modified as provided by SirSir to allow multiline responses when * using SMTP Extensions. * - * @param Socket $socket Socket - * @param string $response Response string - * @return boolean true if success + * @param resource $socket Socket + * @param string $response Response string + * @return boolean true if success */ public function server_parse($socket, $response) { diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 7294d77aa07..0f8a7c7d17b 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -3286,7 +3286,7 @@ abstract class CommonObject * @param string $targettype Object target type * @param int $rowid Row id of line to delete. If defined, other parameters are not used. * @return int >0 if OK, <0 if KO - * @see add_object_linked, updateObjectLinked, fetchObjectLinked + * @see add_object_linked(), updateObjectLinked(), fetchObjectLinked() */ public function deleteObjectLinked($sourceid = null, $sourcetype = '', $targetid = null, $targettype = '', $rowid = '') { diff --git a/htdocs/core/class/commonobjectline.class.php b/htdocs/core/class/commonobjectline.class.php index 891ea5e4bc6..2713cca3cda 100644 --- a/htdocs/core/class/commonobjectline.class.php +++ b/htdocs/core/class/commonobjectline.class.php @@ -39,7 +39,7 @@ abstract class CommonObjectLine extends CommonObject * Id of the line * @var int * @deprecated Try to use id property as possible (even if field into database is still rowid) - * @see id + * @see $id */ public $rowid; diff --git a/htdocs/core/class/commonorder.class.php b/htdocs/core/class/commonorder.class.php index ddaef527630..756a8264e04 100644 --- a/htdocs/core/class/commonorder.class.php +++ b/htdocs/core/class/commonorder.class.php @@ -41,7 +41,7 @@ abstract class CommonOrderLine extends CommonObjectLine * Product ref * @var string * @deprecated Use product_ref - * @see product_ref + * @see $product_ref */ public $ref; @@ -55,7 +55,7 @@ abstract class CommonOrderLine extends CommonObjectLine * Product label * @var string * @deprecated Use product_label - * @see product_label + * @see $product_label */ public $libelle; @@ -80,7 +80,7 @@ abstract class CommonOrderLine extends CommonObjectLine /** * Unit price * @deprecated - * @see subprice + * @see $subprice */ public $price; diff --git a/htdocs/core/class/coreobject.class.php b/htdocs/core/class/coreobject.class.php index cb31a287656..02a083978ef 100644 --- a/htdocs/core/class/coreobject.class.php +++ b/htdocs/core/class/coreobject.class.php @@ -82,7 +82,7 @@ class CoreObject extends CommonObject * * @param string $field name of field * @param string $type type of field to test - * @return value of field or false + * @return boolean value of field or false */ private function checkFieldType($field, $type) { diff --git a/htdocs/core/class/cstate.class.php b/htdocs/core/class/cstate.class.php index 97f5b9b016f..2487d87137f 100644 --- a/htdocs/core/class/cstate.class.php +++ b/htdocs/core/class/cstate.class.php @@ -54,7 +54,7 @@ class Cstate // extends CommonObject /** * @var string * @deprecated - * @see name + * @see $name */ public $nom=''; diff --git a/htdocs/core/class/dolgraph.class.php b/htdocs/core/class/dolgraph.class.php index 514ae0369ed..d947d7c129b 100644 --- a/htdocs/core/class/dolgraph.class.php +++ b/htdocs/core/class/dolgraph.class.php @@ -257,7 +257,7 @@ class DolGraph * * @param array $data Data * @return void - * @see draw_jflot for syntax of data array + * @see draw_jflot() for syntax of data array */ public function SetData($data) { diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 55e7d243f32..32e5149b1c1 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2321,7 +2321,7 @@ class Form * constructProductListOption. * This define value for &$opt and &$optJson. * - * @param resultset $objp Resultset of fetch + * @param resource $objp Resultset of fetch * @param string $opt Option (var used for returned value in string option format) * @param string $optJson Option (var used for returned value in json format) * @param int $price_level Price level @@ -5153,7 +5153,7 @@ class Form * @param datetime $adddateof Add a link "Date of invoice" using the following date. * @return string|void Nothing or string if nooutput is 1 * @deprecated - * @see form_date, select_month, select_year, select_dayofweek + * @see form_date(), select_month(), select_year(), select_dayofweek() */ public function select_date($set_time = '', $prefix = 're', $h = 0, $m = 0, $empty = 0, $form_name = "", $d = 1, $addnowlink = 0, $nooutput = 0, $disabled = 0, $fullday = '', $addplusone = '', $adddateof = '') { @@ -6056,7 +6056,7 @@ class Form * @param string $placeholder String to use as placeholder * @param integer $acceptdelayedhtml 1 = caller is requesting to have html js content not returned but saved into global $delayedhtmlcontent (so caller can show it at end of page to avoid flash FOUC effect) * @return string HTML select string - * @see selectArrayAjax, ajax_combobox in ajax.lib.php + * @see selectArrayAjax(), ajax_combobox() in ajax.lib.php */ public static function selectArrayFilter($htmlname, $array, $id = '', $moreparam = '', $disableFiltering = 0, $disabled = 0, $minimumInputLength = 1, $morecss = '', $callurlonselect = 0, $placeholder = '', $acceptdelayedhtml = 0) { diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php index 65f92c86948..d42bfcbeb5a 100644 --- a/htdocs/core/class/html.formcompany.class.php +++ b/htdocs/core/class/html.formcompany.class.php @@ -215,7 +215,7 @@ class FormCompany * @param integer $country_codeid Country code or id: 0=list for all countries, otherwise country code or country rowid to show * @param string $htmlname Id of department. If '', we want only the string with