fix phpstan (#28445)
Default value of the parameter #9 $fk_unit (string) of method BOM::addLine() is incompatible with type int.
This commit is contained in:
parent
02ec0bcd74
commit
cadbb0cea1
1 changed files with 1 additions and 1 deletions
|
|
@ -600,7 +600,7 @@ class BOM extends CommonObject
|
|||
* @param int $fk_default_workstation Default workstation
|
||||
* @return int Return integer <0 if KO, Id of created object if OK
|
||||
*/
|
||||
public function addLine($fk_product, $qty, $qty_frozen = 0, $disable_stock_change = 0, $efficiency = 1.0, $position = -1, $fk_bom_child = null, $import_key = null, $fk_unit = '', $array_options = array(), $fk_default_workstation = null)
|
||||
public function addLine($fk_product, $qty, $qty_frozen = 0, $disable_stock_change = 0, $efficiency = 1.0, $position = -1, $fk_bom_child = null, $import_key = null, $fk_unit = 0, $array_options = array(), $fk_default_workstation = null)
|
||||
{
|
||||
global $mysoc, $conf, $langs, $user;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue