@@ -339,6 +339,7 @@ class OrderShopBuilder | |||
OrderShopInterface $orderShop2, | |||
$persist = true | |||
): OrderShopInterface { | |||
//TODO essayer de comprendre prk on doit faire un refresh ici ??? | |||
$this->entityManager->refresh($orderShop1); | |||
$this->entityManager->refresh($orderShop2); | |||
if ($orderShop1 && $orderShop2) { |