@@ -203,7 +203,7 @@ class OrderSolver extends AbstractService implements SolverInterface | |||
/** | |||
* Retourne la quantité d'un produit donné de plusieurs commandes. | |||
*/ | |||
public function getProductQuantity(Product $product, array $orders, bool $ignoreCancel = false, string $unit = null): int | |||
public function getProductQuantity(Product $product, array $orders, bool $ignoreCancel = false, string $unit = null): float | |||
{ | |||
$quantity = 0; | |||