forked from Wavyzz/dolibarr
qual: phpstan - Property CommonObjectLine::$fk_unit (int|null) does not accept string|null. (#28372)
* Update propal.class.php htdocs/comm/propal/class/propal.class.php 746 Property CommonObjectLine::$fk_unit (int|null) does not accept string|null. htdocs/comm/propal/class/propal.class.php 963 Property CommonObjectLine::$fk_unit (int|null) does not accept string|null. * Update commande.class.php htdocs/commande/class/commande.class.php 1692 Property CommonObjectLine::$fk_unit (int|null) does not accept string|null. htdocs/commande/class/commande.class.php 3273 Property CommonObjectLine::$fk_unit (int|null) does not accept string|null. * Update facture.class.php htdocs/compta/facture/class/facture.class.php 3990 Property CommonObjectLine::$fk_unit (int|null) does not accept string|null. htdocs/compta/facture/class/facture.class.php 4243 Property CommonObjectLine::$fk_unit (int|null) does not accept string|null. * Update fournisseur.commande.class.php htdocs/fourn/class/fournisseur.commande.class.php 2149 Property CommonObjectLine::$fk_unit (int|null) does not accept string|null. htdocs/fourn/class/fournisseur.commande.class.php 3031 Property CommonObjectLine::$fk_unit (int|null) does not accept string|null. * Update fournisseur.facture.class.php htdocs/fourn/class/fournisseur.facture.class.php 2257 Property CommonObjectLine::$fk_unit (int|null) does not accept string|null. htdocs/fourn/class/fournisseur.facture.class.php 2453 Property CommonObjectLine::$fk_unit (int|null) does not accept string|null.
This commit is contained in:
@@ -585,7 +585,7 @@ class Propal extends CommonObject
|
|||||||
* @param int|string $date_start Start date of the line
|
* @param int|string $date_start Start date of the line
|
||||||
* @param int|string $date_end End date of the line
|
* @param int|string $date_end End date of the line
|
||||||
* @param array $array_options extrafields array
|
* @param array $array_options extrafields array
|
||||||
* @param string $fk_unit Code of the unit to use. Null to use the default one
|
* @param int|null $fk_unit Code of the unit to use. Null to use the default one
|
||||||
* @param string $origin Depend on global conf MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION can be 'orderdet', 'propaldet'..., else 'order','propal,'....
|
* @param string $origin Depend on global conf MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION can be 'orderdet', 'propaldet'..., else 'order','propal,'....
|
||||||
* @param int $origin_id Depend on global conf MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION can be Id of origin object (aka line id), else object id
|
* @param int $origin_id Depend on global conf MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION can be Id of origin object (aka line id), else object id
|
||||||
* @param double $pu_ht_devise Unit price in currency
|
* @param double $pu_ht_devise Unit price in currency
|
||||||
@@ -835,7 +835,7 @@ class Propal extends CommonObject
|
|||||||
* @param int|string $date_start Start date of the line
|
* @param int|string $date_start Start date of the line
|
||||||
* @param int|string $date_end End date of the line
|
* @param int|string $date_end End date of the line
|
||||||
* @param array $array_options extrafields array
|
* @param array $array_options extrafields array
|
||||||
* @param string $fk_unit Code of the unit to use. Null to use the default one
|
* @param int|null $fk_unit Code of the unit to use. Null to use the default one
|
||||||
* @param double $pu_ht_devise Unit price in currency
|
* @param double $pu_ht_devise Unit price in currency
|
||||||
* @param int $notrigger disable line update trigger
|
* @param int $notrigger disable line update trigger
|
||||||
* @param integer $rang line rank
|
* @param integer $rang line rank
|
||||||
|
|||||||
@@ -1490,7 +1490,7 @@ class Commande extends CommonOrder
|
|||||||
* @param int $pa_ht Buying price (without tax)
|
* @param int $pa_ht Buying price (without tax)
|
||||||
* @param string $label Label
|
* @param string $label Label
|
||||||
* @param array $array_options extrafields array. Example array('options_codeforfield1'=>'valueforfield1', 'options_codeforfield2'=>'valueforfield2', ...)
|
* @param array $array_options extrafields array. Example array('options_codeforfield1'=>'valueforfield1', 'options_codeforfield2'=>'valueforfield2', ...)
|
||||||
* @param string $fk_unit Code of the unit to use. Null to use the default one
|
* @param int|null $fk_unit Code of the unit to use. Null to use the default one
|
||||||
* @param string $origin Depend on global conf MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION can be 'orderdet', 'propaldet'..., else 'order','propal,'....
|
* @param string $origin Depend on global conf MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION can be 'orderdet', 'propaldet'..., else 'order','propal,'....
|
||||||
* @param int $origin_id Depend on global conf MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION can be Id of origin object (aka line id), else object id
|
* @param int $origin_id Depend on global conf MAIN_CREATEFROM_KEEP_LINE_ORIGIN_INFORMATION can be Id of origin object (aka line id), else object id
|
||||||
* @param double $pu_ht_devise Unit price in currency
|
* @param double $pu_ht_devise Unit price in currency
|
||||||
@@ -3099,7 +3099,7 @@ class Commande extends CommonOrder
|
|||||||
* @param string $label Label
|
* @param string $label Label
|
||||||
* @param int $special_code Special code (also used by externals modules!)
|
* @param int $special_code Special code (also used by externals modules!)
|
||||||
* @param array $array_options extrafields array
|
* @param array $array_options extrafields array
|
||||||
* @param string $fk_unit Code of the unit to use. Null to use the default one
|
* @param int|null $fk_unit Code of the unit to use. Null to use the default one
|
||||||
* @param double $pu_ht_devise Amount in currency
|
* @param double $pu_ht_devise Amount in currency
|
||||||
* @param int $notrigger disable line update trigger
|
* @param int $notrigger disable line update trigger
|
||||||
* @param string $ref_ext external reference
|
* @param string $ref_ext external reference
|
||||||
|
|||||||
@@ -1924,7 +1924,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
* @param int $date_start Date start of service
|
* @param int $date_start Date start of service
|
||||||
* @param int $date_end Date end of service
|
* @param int $date_end Date end of service
|
||||||
* @param array $array_options extrafields array
|
* @param array $array_options extrafields array
|
||||||
* @param string $fk_unit Code of the unit to use. Null to use the default one
|
* @param int|null $fk_unit Code of the unit to use. Null to use the default one
|
||||||
* @param string $pu_ht_devise Amount in currency
|
* @param string $pu_ht_devise Amount in currency
|
||||||
* @param string $origin 'order', ...
|
* @param string $origin 'order', ...
|
||||||
* @param int $origin_id Id of origin object
|
* @param int $origin_id Id of origin object
|
||||||
@@ -2888,7 +2888,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
* @param integer $date_start Date start of service
|
* @param integer $date_start Date start of service
|
||||||
* @param integer $date_end Date end of service
|
* @param integer $date_end Date end of service
|
||||||
* @param array $array_options Extrafields array
|
* @param array $array_options Extrafields array
|
||||||
* @param string $fk_unit Code of the unit to use. Null to use the default one
|
* @param int|null $fk_unit Code of the unit to use. Null to use the default one
|
||||||
* @param float $pu_ht_devise Unit price in currency
|
* @param float $pu_ht_devise Unit price in currency
|
||||||
* @param string $ref_supplier Supplier ref
|
* @param string $ref_supplier Supplier ref
|
||||||
* @return int Return integer < 0 if error, > 0 if ok
|
* @return int Return integer < 0 if error, > 0 if ok
|
||||||
|
|||||||
@@ -2055,7 +2055,7 @@ class FactureFournisseur extends CommonInvoice
|
|||||||
* @param int $rang Position of line
|
* @param int $rang Position of line
|
||||||
* @param int $notrigger Disable triggers
|
* @param int $notrigger Disable triggers
|
||||||
* @param array $array_options extrafields array
|
* @param array $array_options extrafields array
|
||||||
* @param string $fk_unit Code of the unit to use. Null to use the default one
|
* @param int|null $fk_unit Code of the unit to use. Null to use the default one
|
||||||
* @param int $origin_id id origin document
|
* @param int $origin_id id origin document
|
||||||
* @param double $pu_devise Amount in currency
|
* @param double $pu_devise Amount in currency
|
||||||
* @param string $ref_supplier Supplier ref
|
* @param string $ref_supplier Supplier ref
|
||||||
@@ -2321,7 +2321,7 @@ class FactureFournisseur extends CommonInvoice
|
|||||||
* @param integer $date_start Date start of service
|
* @param integer $date_start Date start of service
|
||||||
* @param integer $date_end Date end of service
|
* @param integer $date_end Date end of service
|
||||||
* @param array $array_options extrafields array
|
* @param array $array_options extrafields array
|
||||||
* @param string $fk_unit Code of the unit to use. Null to use the default one
|
* @param int|null $fk_unit Code of the unit to use. Null to use the default one
|
||||||
* @param double $pu_devise Amount in currency
|
* @param double $pu_devise Amount in currency
|
||||||
* @param string $ref_supplier Supplier ref
|
* @param string $ref_supplier Supplier ref
|
||||||
* @param integer $rang line rank
|
* @param integer $rang line rank
|
||||||
|
|||||||
Reference in New Issue
Block a user