diff --git a/htdocs/compta/facture/class/facture-rec.class.php b/htdocs/compta/facture/class/facture-rec.class.php index 95fd10c7068a51a823624a05eed9a19d7c0a2737..02c765ba1317d89d9330d314bd5317b64f521950 100644 --- a/htdocs/compta/facture/class/facture-rec.class.php +++ b/htdocs/compta/facture/class/facture-rec.class.php @@ -410,6 +410,7 @@ class FactureRec extends Facture * @param int $type Type of line (0=product, 1=service) * @param int $rang Position of line * @param int $special_code Special code + * @param string $label Label of the line * @return int <0 if KO, Id of line if OK */ function addline($facid, $desc, $pu_ht, $qty, $txtva, $fk_product=0, $remise_percent=0, $price_base_type='HT', $info_bits=0, $fk_remise_except='', $pu_ttc=0, $type=0, $rang=-1, $special_code=0, $label='') diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 6db8f202fd4bd72398d104bbffca562b45d48c55..c37e464514b04c1374515d314749df94dc526129 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -1880,6 +1880,7 @@ class Facture extends CommonInvoice * @param int $fk_parent_line Id of parent line * @param int $fk_fournprice To calculate margin * @param int $pa_ht Buying price of line + * @param string $label Label of the line * @return int <0 if KO, Id of line if OK */ function addline($facid, $desc, $pu_ht, $qty, $txtva, $txlocaltax1=0, $txlocaltax2=0, $fk_product=0, $remise_percent=0, $date_start='', $date_end='', $ventil=0, $info_bits=0, $fk_remise_except='', $price_base_type='HT', $pu_ttc=0, $type=0, $rang=-1, $special_code=0, $origin='', $origin_id=0, $fk_parent_line=0, $fk_fournprice=null, $pa_ht=0, $label='') @@ -2035,6 +2036,7 @@ class Facture extends CommonInvoice * @param int $skip_update_total ??? * @param int $fk_fournprice To calculate margin * @param int $pa_ht Buying price of line + * @param string $label Label of the line * @return int < 0 if KO, > 0 if OK */ function updateline($rowid, $desc, $pu, $qty, $remise_percent, $date_start, $date_end, $txtva, $txlocaltax1=0, $txlocaltax2=0, $price_base_type='HT', $info_bits=0, $type=0, $fk_parent_line=0, $skip_update_total=0, $fk_fournprice=null, $pa_ht=0, $label='') diff --git a/htdocs/core/class/commondocgenerator.class.php b/htdocs/core/class/commondocgenerator.class.php index 5007dca817f422dbd060599fb480b9d6058e4a36..bf3e8e98ddf8ad38d72d41d586029d58f5102f91 100755 --- a/htdocs/core/class/commondocgenerator.class.php +++ b/htdocs/core/class/commondocgenerator.class.php @@ -168,13 +168,14 @@ abstract class CommonDocGenerator /** * Rect pdf * - * @param unknown_type $pdf - * @param unknown_type $x - * @param unknown_type $y - * @param unknown_type $l - * @param unknown_type $h + * @param PDF $pdf Object PDF + * @param float $x Abscissa of first point + * @param float $y Ordinate of first point + * @param float $l ?? + * @param float $h ?? * @param int $hidetop Hide top * @param int $hidebottom Hide bottom + * @return void */ function printRect($pdf, $x, $y, $l, $h, $hidetop=0, $hidebottom=0) { diff --git a/htdocs/core/lib/member.lib.php b/htdocs/core/lib/member.lib.php index 15ada8ed4c08f007554aea57bdd23d61c65c50b1..c3314bb308720c53820524ab58101510c72bf4d4 100644 --- a/htdocs/core/lib/member.lib.php +++ b/htdocs/core/lib/member.lib.php @@ -103,8 +103,7 @@ function member_prepare_head($object) /** * Return array head with list of tabs to view object informations * - * @param Object $object Member - * @return array head + * @return array head */ function member_admin_prepare_head() {