Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/DataBuilder/AddressesDataBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function __invoke(array $data, PaymentInterface $payment): array
$addresses = ['shipping' => $order->getShippingAddress(), 'billing' => $order->getBillingAddress()];
foreach ($addresses as $type => $address) {
if ($address !== null) {
$data['payment']["${type}_address"] = $this->getAddressData($address);
$data['payment']["{$type}_address"] = $this->getAddressData($address);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Payum/Action/CaptureAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function execute($request): void

default:
throw new RuntimeException(
"[Alma] Unknown payment page mode '${paymentPageMode}'. Check gateway config"
"[Alma] Unknown payment page mode '{$paymentPageMode}'. Check gateway config"
);
}
}
Expand Down