Completed
Pull Request — master (#125)
by
unknown
01:54
created
src/Resource/Refund.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
     {
161 161
         $data = new stdClass();
162 162
         $data->refundingInstrument = new stdClass(); 
163
-        $data->refundingInstrument->method= self::METHOD_BANK_ACCOUNT;
163
+        $data->refundingInstrument->method = self::METHOD_BANK_ACCOUNT;
164 164
         $data->refundingInstrument->bankAccount = new stdClass();
165 165
         $data->refundingInstrument->bankAccount->type = $type;
166 166
         $data->refundingInstrument->bankAccount->bankNumber = $bankNumber;
Please login to merge, or discard this patch.
tests/Resource/RefundTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $payment = $order->payments()->get('PAY-N2TXFLV4PP7Y'); 
26 26
         $this->mockHttpSession($this->body_refund_partial_bankaccount);
27 27
         $refund = $payment->refunds()
28
-            ->bankAccountPartial(20000, 'SAVING','001', '1584', '9', '00210169', '6', $order->getCustomer());
28
+            ->bankAccountPartial(20000, 'SAVING', '001', '1584', '9', '00210169', '6', $order->getCustomer());
29 29
         $this->assertNotEmpty($refund->getId());
30 30
     }
31 31
 }
Please login to merge, or discard this patch.