Skip to content

Commit

Permalink
refactor: adiciona espaço entre foreach e parentese
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewalkermo committed Jan 31, 2024
1 parent 242baae commit 55202f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gateways/IuguGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ private function iuguToMultiPaymentPaymentMethod($iuguPaymentMethod): ?string
Invoice::PAYMENT_METHOD_CREDIT_CARD
];
if (!empty($iuguPaymentMethod)) {
foreach($multiPaymentPaymentMethod as $paymentMethod) {
foreach ($multiPaymentPaymentMethod as $paymentMethod) {
if (str_contains($iuguPaymentMethod, $paymentMethod)) {
return $paymentMethod;
}
Expand Down Expand Up @@ -426,7 +426,7 @@ private function parseInvoice($iuguInvoice, ?Invoice $invoice = null): Invoice

$invoice->items = [];

foreach($iuguInvoice->items as $itemIugu) {
foreach ($iuguInvoice->items as $itemIugu) {
$invoiceItem = new InvoiceItem();
$invoiceItem->description = $itemIugu->description;
$invoiceItem->price = $itemIugu->price_cents;
Expand Down

0 comments on commit 55202f1

Please sign in to comment.