Passed
Pull Request — master (#1010)
by ma
02:08
created
src/Plugin/Wechat/V3/Pay/Pos/PayPlugin.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
                 ],
42 42
                 $this->service($payload, $params, $config)
43 43
             ));
44
-        }else{
44
+        }else {
45 45
             $rocket->mergePayload(array_merge(
46 46
                 [
47 47
                     '_method' => 'POST',
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
                 ],
42 42
                 $this->service($payload, $params, $config)
43 43
             ));
44
-        }else{
44
+        } else{
45 45
             $rocket->mergePayload(array_merge(
46 46
                 [
47 47
                     '_method' => 'POST',
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Pay/Pos/CancelPlugin.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,15 +44,15 @@
 block discarded – undo
44 44
             $rocket->mergePayload(array_merge(
45 45
                 [
46 46
                     '_method' => 'POST',
47
-                    '_url' => 'v3/pay/partner/transactions/out-trade-no/'.$outTradeNo.'/reverse',
47
+                    '_url' => 'v3/pay/partner/transactions/out-trade-no/' . $outTradeNo . '/reverse',
48 48
                 ],
49 49
                 $this->service($payload, $params, $config)
50 50
             ));
51
-        }else{
51
+        }else {
52 52
             $rocket->setPayload(array_merge(
53 53
                 [
54 54
                     '_method' => 'POST',
55
-                    '_url' => 'v3/pay/transactions/out-trade-no/'.$outTradeNo.'/reverse',
55
+                    '_url' => 'v3/pay/transactions/out-trade-no/' . $outTradeNo . '/reverse',
56 56
                 ],
57 57
                 $this->normal($params, $config)
58 58
             ));
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                 ],
49 49
                 $this->service($payload, $params, $config)
50 50
             ));
51
-        }else{
51
+        } else{
52 52
             $rocket->setPayload(array_merge(
53 53
                 [
54 54
                     '_method' => 'POST',
Please login to merge, or discard this patch.