Skip to content

Commit

Permalink
fix phan
Browse files Browse the repository at this point in the history
  • Loading branch information
fappels committed Jun 24, 2024
1 parent d34de7b commit 65fc35b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/bom/class/bom.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ public function getNetNeeds(&$TNetNeeds = array(), $qty = 0)
/**
* Get/add Net needs Tree by product or bom
*
* @param array<int,array{bom:BOM,parent_id:int,qty:float,level:int}> $TNetNeeds Array of ChildBom and infos linked to
* @param array<int,array{bom:BOM,parent_id:int,qty:float,level:int,product:array}> $TNetNeeds Array of ChildBom and infos linked to
* @param float $qty qty needed (used as a factor to produce 1 unit)
* @param int $level level of recursivity
* @return void
Expand Down
2 changes: 1 addition & 1 deletion htdocs/product/class/product.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Product extends CommonObject
'contratdet' => array('name' => 'Contract', 'parent' => 'contrat', 'parentkey' => 'fk_contrat'),
'facture_fourn_det' => array('name' => 'SupplierInvoice', 'parent' => 'facture_fourn', 'parentkey' => 'fk_facture_fourn'),
'commande_fournisseurdet' => array('name' => 'SupplierOrder', 'parent' => 'commande_fournisseur', 'parentkey' => 'fk_commande'),
'mrp_production' => array('name' => 'Mo', 'parent' => 'mrp_mo', 'parentkey' => 'fk_mo'),
'mrp_production' => array('name' => 'Mo', 'parent' => 'mrp_mo', 'parentkey' => 'fk_mo')
);

/**
Expand Down

0 comments on commit 65fc35b

Please sign in to comment.