Skip to content

Commit

Permalink
Merge pull request #25 from daniel8702/master
Browse files Browse the repository at this point in the history
Fix coding standards
  • Loading branch information
damonsson authored Oct 15, 2019
2 parents 1429f89 + 51df698 commit 3548e8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Action/CaptureAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ private function prepareOrder(TokenInterface $token, OrderInterface $order): arr
);

$buyer = [
'email' => (string)$customer->getEmail(),
'firstName' => (string)$customer->getFirstName(),
'lastName' => (string)$customer->getLastName(),
'email' => (string) $customer->getEmail(),
'firstName' => (string) $customer->getFirstName(),
'lastName' => (string) $customer->getLastName(),
'language' => $this->getFallbackLocaleCode($order->getLocaleCode()),
];
$payUdata['buyer'] = $buyer;
Expand All @@ -164,7 +164,7 @@ private function getOrderItems(OrderInterface $order): array
$itemsData[$key] = [
'name' => $item->getProductName(),
'unitPrice' => $item->getUnitPrice(),
'quantity' => $item->getQuantity()
'quantity' => $item->getQuantity(),
];
}
}
Expand Down

0 comments on commit 3548e8b

Please sign in to comment.