Test Failed
Push — master ( df8200...cd3d31 )
by Joe
02:39
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
@@ -71,8 +71,7 @@
 block discarded – undo
71 71
         $this->data['raw'] = $fetchResponse->getData();
72 72
         if ($fetchResponse->getData()['PayResult'] != 3) { // 交易成功為3; 交易失敗為0;
73 73
             $this->status = static::STATUS_FAILED;
74
-        }
75
-        else {
74
+        } else {
76 75
             $this->status = static::STATUS_COMPLETED;
77 76
         }
78 77
 
Please login to merge, or discard this patch.