Skip to content

Commit 57f958d

Browse files
committed
Style fix
1 parent 737ed4f commit 57f958d

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/Omnipay/Buckaroo/Message/CompletePurchaseRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function generateResponseSignature()
3939
$this->getCurrency().
4040
$this->getAmountInteger().
4141
$this->httpRequest->request->get('bpe_result').
42-
(int) $this->getTestMode().
42+
(int) $this->getTestMode().
4343
$this->getSecret()
4444
);
4545
}

src/Omnipay/Buckaroo/Message/PurchaseRequest.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ public function getData()
4545
$this->validate('merchantId', 'secret', 'amount', 'returnUrl');
4646

4747
$data = array();
48-
$data['BPE_Merchant'] = $this->getMerchantId();
49-
$data['BPE_Amount'] = $this->getAmountInteger();
50-
$data['BPE_Currency'] = $this->getCurrency();
51-
$data['BPE_Language'] = 'EN';
52-
$data['BPE_Mode'] = (int) $this->getTestMode();
53-
$data['BPE_Invoice'] = $this->getTransactionId();
54-
$data['BPE_Return_Success'] = $this->getReturnUrl();
55-
$data['BPE_Return_Reject'] = $this->getReturnUrl();
56-
$data['BPE_Return_Error'] = $this->getReturnUrl();
57-
$data['BPE_Return_Method'] = 'POST';
48+
$data['BPE_Merchant'] = $this->getMerchantId();
49+
$data['BPE_Amount'] = $this->getAmountInteger();
50+
$data['BPE_Currency'] = $this->getCurrency();
51+
$data['BPE_Language'] = 'EN';
52+
$data['BPE_Mode'] = (int) $this->getTestMode();
53+
$data['BPE_Invoice'] = $this->getTransactionId();
54+
$data['BPE_Return_Success'] = $this->getReturnUrl();
55+
$data['BPE_Return_Reject'] = $this->getReturnUrl();
56+
$data['BPE_Return_Error'] = $this->getReturnUrl();
57+
$data['BPE_Return_Method'] = 'POST';
5858
$data['BPE_Signature2'] = $this->generateSignature($data);
5959

6060
return $data;

0 commit comments

Comments
 (0)