Passed
Pull Request — master (#1061)
by
unknown
02:12
created
src/Plugin/Wechat/V3/Marketing/Transfer/ReceiptDetail/QueryPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
         $rocket->setPayload([
46 46
             '_method' => 'GET',
47
-            '_url' => 'v3/transfer-detail/electronic-receipts?'.filter_params($payload)->query(),
47
+            '_url' => 'v3/transfer-detail/electronic-receipts?' . filter_params($payload)->query(),
48 48
         ]);
49 49
 
50 50
         Logger::info('[Wechat][Marketing][Transfer][ReceiptDetail][QueryPlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Marketing/Transfer/Receipt/QueryPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
         $rocket->setPayload([
45 45
             '_method' => 'GET',
46
-            '_url' => 'v3/transfer/bill-receipt/'.$outBatchNo,
46
+            '_url' => 'v3/transfer/bill-receipt/' . $outBatchNo,
47 47
         ]);
48 48
 
49 49
         Logger::info('[Wechat][Marketing][Transfer][Receipt][QueryPlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Marketing/Transfer/Batch/QueryByWxPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
         $rocket->setPayload([
47 47
             '_method' => 'GET',
48
-            '_url' => 'v3/transfer/batches/batch-id/'.$batchId.'?'.filter_params($payload)->except('batch_id')->query(),
48
+            '_url' => 'v3/transfer/batches/batch-id/' . $batchId . '?' . filter_params($payload)->except('batch_id')->query(),
49 49
         ]);
50 50
 
51 51
         Logger::info('[Wechat][Marketing][Transfer][Batch][QueryByWxPlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Marketing/Transfer/Batch/QueryPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
         $rocket->setPayload([
47 47
             '_method' => 'GET',
48
-            '_url' => 'v3/transfer/batches/out-batch-no/'.$outBatchNo.'?'.filter_params($payload)->except('out_batch_no')->query(),
48
+            '_url' => 'v3/transfer/batches/out-batch-no/' . $outBatchNo . '?' . filter_params($payload)->except('out_batch_no')->query(),
49 49
         ]);
50 50
 
51 51
         Logger::info('[Wechat][Marketing][Transfer][Batch][QueryPlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Marketing/Coupon/Callback/QueryPlugin.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/marketing/favor/callbacks?mchid='.$mchId,
36
-            '_service_url' => 'v3/marketing/favor/callbacks?mchid='.$mchId,
35
+            '_url' => 'v3/marketing/favor/callbacks?mchid=' . $mchId,
36
+            '_service_url' => 'v3/marketing/favor/callbacks?mchid=' . $mchId,
37 37
         ]);
38 38
 
39 39
         Logger::info('[Wechat][Marketing][Coupon][Callback][QueryPlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Marketing/Coupon/Coupons/DetailPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@
 block discarded – undo
43 43
 
44 44
         $rocket->setPayload([
45 45
             '_method' => 'GET',
46
-            '_url' => 'v3/marketing/favor/users/'.$openId.'/coupons/'.$couponId.'?appid='.$appId,
47
-            '_service_url' => 'v3/marketing/favor/users/'.$openId.'/coupons/'.$couponId.'?appid='.$appId,
46
+            '_url' => 'v3/marketing/favor/users/' . $openId . '/coupons/' . $couponId . '?appid=' . $appId,
47
+            '_service_url' => 'v3/marketing/favor/users/' . $openId . '/coupons/' . $couponId . '?appid=' . $appId,
48 48
         ]);
49 49
 
50 50
         Logger::info('[Wechat][V3][Marketing][Coupon][Coupons][DetailPlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Marketing/Coupon/Coupons/QueryUserPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@
 block discarded – undo
43 43
 
44 44
         $rocket->setPayload([
45 45
             '_method' => 'GET',
46
-            '_url' => 'v3/marketing/favor/users/'.$openId.'/coupons?'.$this->normal($payload, $params, $config),
47
-            '_service_url' => 'v3/marketing/favor/users/'.$openId.'/coupons?'.$this->normal($payload, $params, $config),
46
+            '_url' => 'v3/marketing/favor/users/' . $openId . '/coupons?' . $this->normal($payload, $params, $config),
47
+            '_service_url' => 'v3/marketing/favor/users/' . $openId . '/coupons?' . $this->normal($payload, $params, $config),
48 48
         ]);
49 49
 
50 50
         Logger::info('[Wechat][V3][Marketing][Coupon][Coupons][QueryUserPlugin] 插件装载完毕', ['rocket' => $rocket]);
Please login to merge, or discard this patch.
src/Plugin/Wechat/V3/Marketing/Coupon/Coupons/SendPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
         $rocket->setPayload(array_merge(
45 45
             [
46 46
                 '_method' => 'POST',
47
-                '_url' => 'v3/marketing/favor/users/'.$openId.'/coupons',
48
-                '_service_url' => 'v3/marketing/favor/users/'.$openId.'/coupons',
47
+                '_url' => 'v3/marketing/favor/users/' . $openId . '/coupons',
48
+                '_service_url' => 'v3/marketing/favor/users/' . $openId . '/coupons',
49 49
             ],
50 50
             $this->normal($payload, $params, $config),
51 51
         ));
Please login to merge, or discard this patch.
src/Pay.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * @throws ContainerException
62 62
      */
63
-    public static function config(array $config = [], null|Closure|ContainerInterface $container = null): bool
63
+    public static function config(array $config = [], null | Closure | ContainerInterface $container = null): bool
64 64
     {
65 65
         $result = Artful::config($config, $container);
66 66
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         return Artful::get($service);
89 89
     }
90 90
 
91
-    public static function setContainer(null|Closure|ContainerInterface $container): void
91
+    public static function setContainer(null | Closure | ContainerInterface $container): void
92 92
     {
93 93
         Artful::setContainer($container);
94 94
     }
Please login to merge, or discard this patch.