diff --git a/src/Provider/LineItemProvider.php b/src/Provider/LineItemProvider.php index 49adf6d..cc36bc1 100644 --- a/src/Provider/LineItemProvider.php +++ b/src/Provider/LineItemProvider.php @@ -36,7 +36,7 @@ public function getLineItem(OrderItemInterface $orderItem): ?array } return [ - 'amount' => $orderItem->getTotal()/$orderItem->getQuantity(), + 'amount' => $orderItem->getTotal() / $orderItem->getQuantity(), 'currency' => $order->getCurrencyCode(), 'name' => $this->lineItemNameProvider->getItemName($orderItem), 'quantity' => $orderItem->getQuantity(),