Service/ShipmentRuleManager.php
public function handleOrder(BaseOrder $order)
    {
        $this->order = $order;

        $mustBeUnique = $this->handleUniqProduct();
        $this->handleQuantity();
        $this->handleWeight();

        if (!$mustBeUnique) {
            $this->reconciliateShipmentElements();
        }

        return true;
    }
public function handleOrder(BaseOrder $order)
    {
        $this->order = $order;

        $mustBeUnique = $this->handleUniqProduct();
        $this->handleQuantity();
        $this->handleWeight();

        if (!$mustBeUnique) {
            $this->reconciliateShipmentElements();
        }

        return true;
    }
@param BaseOrder $order

@return bool