Passed
Branch master (c084d6)
by Songda
09:40
created
src/Plugin/Wechat/Shortcut/CloseShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
             return $this->combinePlugins();
22 22
         }
23 23
 
24
-        $typeMethod = Str::camel($params['_type'] ?? 'default').'Plugins';
24
+        $typeMethod = Str::camel($params['_type'] ?? 'default') . 'Plugins';
25 25
 
26 26
         if (method_exists($this, $typeMethod)) {
27 27
             return $this->{$typeMethod}();
Please login to merge, or discard this patch.
src/Plugin/Unipay/Shortcut/QueryShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function getPlugins(array $params): array
19 19
     {
20
-        $typeMethod = Str::camel($params['_type'] ?? 'default').'Plugins';
20
+        $typeMethod = Str::camel($params['_type'] ?? 'default') . 'Plugins';
21 21
 
22 22
         if (method_exists($this, $typeMethod)) {
23 23
             return $this->{$typeMethod}();
Please login to merge, or discard this patch.
src/Plugin/Unipay/Shortcut/ScanShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function getPlugins(array $params): array
19 19
     {
20
-        $typeMethod = Str::camel($params['_type'] ?? 'default').'Plugins';
20
+        $typeMethod = Str::camel($params['_type'] ?? 'default') . 'Plugins';
21 21
 
22 22
         if (method_exists($this, $typeMethod)) {
23 23
             return $this->{$typeMethod}();
Please login to merge, or discard this patch.
src/Plugin/Unipay/Shortcut/PosShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function getPlugins(array $params): array
19 19
     {
20
-        $typeMethod = Str::camel($params['_type'] ?? 'default').'Plugins';
20
+        $typeMethod = Str::camel($params['_type'] ?? 'default') . 'Plugins';
21 21
 
22 22
         if (method_exists($this, $typeMethod)) {
23 23
             return $this->{$typeMethod}();
Please login to merge, or discard this patch.
src/Plugin/Unipay/Shortcut/CancelShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function getPlugins(array $params): array
19 19
     {
20
-        $typeMethod = Str::camel($params['_type'] ?? 'default').'Plugins';
20
+        $typeMethod = Str::camel($params['_type'] ?? 'default') . 'Plugins';
21 21
 
22 22
         if (method_exists($this, $typeMethod)) {
23 23
             return $this->{$typeMethod}();
Please login to merge, or discard this patch.
src/Plugin/Wechat/Shortcut/QueryShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
             return $this->combinePlugins();
22 22
         }
23 23
 
24
-        $typeMethod = Str::camel($params['_type'] ?? 'default').'Plugins';
24
+        $typeMethod = Str::camel($params['_type'] ?? 'default') . 'Plugins';
25 25
 
26 26
         if (method_exists($this, $typeMethod)) {
27 27
             return $this->{$typeMethod}();
Please login to merge, or discard this patch.
src/Plugin/Wechat/Fund/Transfer/QueryBatchIdPlugin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
 
40 40
         $payload->forget('batch_id');
41 41
 
42
-        return 'v3/transfer/batches/batch-id/'.$batchId.
43
-            '?'.$payload->query();
42
+        return 'v3/transfer/batches/batch-id/' . $batchId .
43
+            '?' . $payload->query();
44 44
     }
45 45
 
46 46
     /**
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
         $payload->forget('batch_id');
60 60
 
61
-        return 'v3/partner-transfer/batches/batch-id/'.$batchId.
62
-            '?'.$payload->query();
61
+        return 'v3/partner-transfer/batches/batch-id/' . $batchId .
62
+            '?' . $payload->query();
63 63
     }
64 64
 }
Please login to merge, or discard this patch.
src/Plugin/Wechat/Fund/Transfer/QueryOutBatchNoPlugin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
 
40 40
         $payload->forget('out_batch_no');
41 41
 
42
-        return 'v3/transfer/batches/out-batch-no/'.$outBatchNo.
43
-            '?'.$payload->query();
42
+        return 'v3/transfer/batches/out-batch-no/' . $outBatchNo .
43
+            '?' . $payload->query();
44 44
     }
45 45
 
46 46
     /**
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
         $payload->forget('out_batch_no');
60 60
 
61
-        return 'v3/partner-transfer/batches/out-batch-no/'.$outBatchNo.
62
-            '?'.$payload->query();
61
+        return 'v3/partner-transfer/batches/out-batch-no/' . $outBatchNo .
62
+            '?' . $payload->query();
63 63
     }
64 64
 }
Please login to merge, or discard this patch.