Skip to content

Commit d8f00dc

Browse files
committed
Apply fixes from StyleCI
1 parent f368327 commit d8f00dc

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/Message/EMV3DSOrderRequest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ public function getData()
1616
$this->validate('amount', 'currency', 'clientIp', 'merchantOrderReference');
1717

1818
return [
19-
'amount' => floor($this->getAmount() * 100),
20-
'currency' => $this->getCurrency(),
21-
'ip' => $this->getClientIp(),
22-
'merchantId' => $this->getMerchantId(),
19+
'amount' => floor($this->getAmount() * 100),
20+
'currency' => $this->getCurrency(),
21+
'ip' => $this->getClientIp(),
22+
'merchantId' => $this->getMerchantId(),
2323
'merchantOrderReference' => $this->getTransactionReference(),
24-
'orderType' => 'PAYMENT',
25-
'intents' => [
24+
'orderType' => 'PAYMENT',
25+
'intents' => [
2626
'THREED_SECURE',
2727
],
2828
];
@@ -32,9 +32,9 @@ public function sendData($data)
3232
{
3333
$params = [
3434
'headers' => [
35-
'Accept' => '*/*',
36-
'Content-Type' => 'application/json; charset=UTF-8',
37-
'Authorization' => 'Basic ' . base64_encode("{$this->getMerchantId()}:{$this->getTransactionPassword()}"),
35+
'Accept' => '*/*',
36+
'Content-Type' => 'application/json; charset=UTF-8',
37+
'Authorization' => 'Basic '.base64_encode("{$this->getMerchantId()}:{$this->getTransactionPassword()}"),
3838
],
3939
'body' => json_encode($data),
4040
];

0 commit comments

Comments
 (0)