Code comment

This commit is contained in:
Laurent Destailleur 2021-02-26 13:22:13 +01:00
parent 886965be76
commit 9e202467e0

View File

@ -470,11 +470,12 @@ class ProductCombination
} }
/** /**
* Updates the weight of the child product. The price must be updated using Product::updatePrices * Updates the weight of the child product. The price must be updated using Product::updatePrices.
* This method is called by the update() of a product.
* *
* @param Product $parent Parent product * @param Product $parent Parent product
* @param User $user Object user * @param User $user Object user
* @return int >0 OK <0 KO * @return int >0 if OK, <0 if KO
*/ */
public function updateProperties(Product $parent, User $user) public function updateProperties(Product $parent, User $user)
{ {