Completed
Push β€” master ( cd3d31...489e18 )
by Joe
05:29
created
src/Message/NotificationRequest.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@
 block discarded – undo
19 19
         if ($this->httpRequest->get('DATA')) {
20 20
             $this->getNotifyParams();
21 21
             $type = 'notify';
22
-        }
23
-        else {
22
+        } else {
24 23
             $this->getReturnParams();
25 24
             $type = 'return';
26 25
         }
Please login to merge, or discard this patch.
src/Message/NotificationResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,7 @@
 block discarded – undo
79 79
         $confirmResponse = $this->request->confirmTransaction();
80 80
         if ($confirmResponse->getData()['ReturnCode'] == 1) {
81 81
             $this->data['raw']['confirm'] = true;
82
-        }
83
-        else {
82
+        } else {
84 83
             $this->data['raw']['confirm'] = false;
85 84
         }
86 85
         return $this;
Please login to merge, or discard this patch.