Browse Source

OrderSolver : correctif valeur retour getProductQuantity()

refactoring
Guillaume 1 year ago
parent
commit
24a9c115a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/logic/Order/Order/Service/OrderSolver.php

+ 1
- 1
common/logic/Order/Order/Service/OrderSolver.php View File

@@ -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;


Loading…
Cancel
Save