mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Remove dead code
This commit is contained in:
parent
b0c17b1f65
commit
c126bf3854
1 changed files with 0 additions and 9 deletions
|
|
@ -86,13 +86,4 @@ final class CompleteOrderHandler implements MessageHandlerInterface
|
|||
|
||||
return $cart;
|
||||
}
|
||||
|
||||
private function orderTotalChanged(OrderInterface $cart): bool
|
||||
{
|
||||
$recalculatedCart = clone $cart;
|
||||
$recalculatedCart->recalculateItemsTotal();
|
||||
$recalculatedCart->recalculateAdjustmentsTotal();
|
||||
|
||||
return $cart->getTotal() === $recalculatedCart->getTotal();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue