Passed
Pull Request — master (#2)
by
unknown
02:07
created
src/Message/CompletePurchase.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,10 +17,10 @@
 block discarded – undo
17 17
     }
18 18
 
19 19
     public function getData() {
20
-        if($this->getPaymentId()){
20
+        if ($this->getPaymentId()) {
21 21
             $data['Key']     = $this->getPaymentId();
22 22
             $data['KeyType'] = "paymentId";
23
-        }else{
23
+        } else {
24 24
             $data['Key']     = $this->getInvoiceId();
25 25
             $data['KeyType'] = "invoiceid";
26 26
         }
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         if($this->getPaymentId()){
21 21
             $data['Key']     = $this->getPaymentId();
22 22
             $data['KeyType'] = "paymentId";
23
-        }else{
23
+        } else{
24 24
             $data['Key']     = $this->getInvoiceId();
25 25
             $data['KeyType'] = "invoiceid";
26 26
         }
Please login to merge, or discard this patch.