Passed
Push — master ( b91d34...c25ba1 )
by Songda
03:53 queued 01:25
created
src/Shortcut/Alipay/QueryShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function getPlugins(array $params): array
42 42
     {
43
-        $method = Str::camel($params['_action'] ?? 'default').'Plugins';
43
+        $method = Str::camel($params['_action'] ?? 'default') . 'Plugins';
44 44
 
45 45
         if (isset($params['out_request_no'])) {
46 46
             return $this->refundPlugins();
Please login to merge, or discard this patch.
src/Shortcut/Alipay/CloseShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getPlugins(array $params): array
34 34
     {
35
-        $method = Str::camel($params['_action'] ?? 'default').'Plugins';
35
+        $method = Str::camel($params['_action'] ?? 'default') . 'Plugins';
36 36
 
37 37
         if (method_exists($this, $method)) {
38 38
             return $this->{$method}();
Please login to merge, or discard this patch.
src/Shortcut/Alipay/RefundShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getPlugins(array $params): array
34 34
     {
35
-        $method = Str::camel($params['_action'] ?? 'default').'Plugins';
35
+        $method = Str::camel($params['_action'] ?? 'default') . 'Plugins';
36 36
 
37 37
         if (method_exists($this, $method)) {
38 38
             return $this->{$method}();
Please login to merge, or discard this patch.
src/Shortcut/Alipay/CancelShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getPlugins(array $params): array
34 34
     {
35
-        $method = Str::camel($params['_action'] ?? 'default').'Plugins';
35
+        $method = Str::camel($params['_action'] ?? 'default') . 'Plugins';
36 36
 
37 37
         if (method_exists($this, $method)) {
38 38
             return $this->{$method}();
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Extend/Complaints/QueryImagePlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
 
33 33
         $rocket->setPayload([
34 34
             '_method' => 'GET',
35
-            '_url' => 'v3/merchant-service/images/'.$mediaId,
36
-            '_service_url' => 'v3/merchant-service/images/'.$mediaId,
35
+            '_url' => 'v3/merchant-service/images/' . $mediaId,
36
+            '_service_url' => 'v3/merchant-service/images/' . $mediaId,
37 37
         ]);
38 38
 
39 39
         Logger::info('[Wechat][Extend][Complaints][QueryImagePlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Extend/Complaints/UpdateRefundPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
 
33 33
         $rocket->mergePayload([
34 34
             '_method' => 'POST',
35
-            '_url' => 'v3/merchant-service/complaints-v2/'.$complaintId.'/update-refund-progress',
36
-            '_service_url' => 'v3/merchant-service/complaints-v2/'.$complaintId.'/update-refund-progress',
35
+            '_url' => 'v3/merchant-service/complaints-v2/' . $complaintId . '/update-refund-progress',
36
+            '_service_url' => 'v3/merchant-service/complaints-v2/' . $complaintId . '/update-refund-progress',
37 37
         ])->exceptPayload('complaint_id');
38 38
 
39 39
         Logger::info('[Wechat][Extend][Complaints][UpdateRefundPlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Extend/Complaints/QueryPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
 
35 35
         $rocket->setPayload([
36 36
             '_method' => 'GET',
37
-            '_url' => 'v3/merchant-service/complaints-v2?'.$query,
38
-            '_service_url' => 'v3/merchant-service/complaints-v2?'.$query,
37
+            '_url' => 'v3/merchant-service/complaints-v2?' . $query,
38
+            '_service_url' => 'v3/merchant-service/complaints-v2?' . $query,
39 39
         ]);
40 40
 
41 41
         Logger::info('[Wechat][Extend][Complaints][QueryPlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Extend/Complaints/QueryDetailPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
 
33 33
         $rocket->setPayload([
34 34
             '_method' => 'GET',
35
-            '_url' => 'v3/merchant-service/complaints-v2/'.$complaintId,
36
-            '_service_url' => 'v3/merchant-service/complaints-v2/'.$complaintId,
35
+            '_url' => 'v3/merchant-service/complaints-v2/' . $complaintId,
36
+            '_service_url' => 'v3/merchant-service/complaints-v2/' . $complaintId,
37 37
         ]);
38 38
 
39 39
         Logger::info('[Wechat][Extend][Complaints][QueryDetailPlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Extend/Complaints/ResponsePlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
 
41 41
         $rocket->mergePayload([
42 42
             '_method' => 'POST',
43
-            '_url' => 'v3/merchant-service/complaints-v2/'.$complaintId.'/response',
44
-            '_service_url' => 'v3/merchant-service/complaints-v2/'.$complaintId.'/response',
43
+            '_url' => 'v3/merchant-service/complaints-v2/' . $complaintId . '/response',
44
+            '_service_url' => 'v3/merchant-service/complaints-v2/' . $complaintId . '/response',
45 45
             'complainted_mchid' => $payload->get('complainted_mchid', $config['mch_id']),
46 46
         ])->exceptPayload('complaint_id');
47 47
 
Please login to merge, or discard this patch.