Completed
Push — master ( 8a6a7b...efede1 )
by Leith
02:16
created
src/Message/AbstractResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     protected function decodeMerchantParameters($data)
36 36
     {
37
-        return (array)json_decode(base64_decode(strtr($data, '-_', '+/')));
37
+        return (array) json_decode(base64_decode(strtr($data, '-_', '+/')));
38 38
     }
39 39
 
40 40
     /**
Please login to merge, or discard this patch.
src/Message/PurchaseRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,9 +139,9 @@
 block discarded – undo
139 139
             // mandatory fields
140 140
             'Ds_Merchant_MerchantCode'       => $this->getMerchantId(),
141 141
             'Ds_Merchant_Terminal'           => $this->getTerminalId(),
142
-            'Ds_Merchant_TransactionType'    => '0',                          // Authorisation
142
+            'Ds_Merchant_TransactionType'    => '0', // Authorisation
143 143
             'Ds_Merchant_Amount'             => $this->getAmountInteger(),
144
-            'Ds_Merchant_Currency'           => $this->getCurrencyNumeric(),  // uses ISO-4217 codes
144
+            'Ds_Merchant_Currency'           => $this->getCurrencyNumeric(), // uses ISO-4217 codes
145 145
             'Ds_Merchant_Order'              => $this->getTransactionId(),
146 146
             'Ds_Merchant_MerchantUrl'        => $this->getNotifyUrl(),
147 147
             // optional fields
Please login to merge, or discard this patch.