Skip to content

Commit

Permalink
Remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
subiabre committed Oct 29, 2024
1 parent f6f1bcd commit ab9b737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Library/Economy/Payment/WalletGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function handleWebhook(Request $request): Response
private function getChargeTotal(GatewayCheckout $checkout): Money
{
$total = new Money(0, $checkout->getOrigin()->getCurrency());

$charges = $checkout->getCharges();
foreach ($charges as $charge) {
$total = $this->money->add($charge->getMoney(), $total);
Expand Down

0 comments on commit ab9b737

Please sign in to comment.