Passed
Pull Request — master (#619)
by Songda
08:04
created
src/Plugin/Wechat/Pay/Common/FindRefundPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
             throw new InvalidParamsException(Exception::MISSING_NECESSARY_PARAMS);
23 23
         }
24 24
 
25
-        return 'v3/refund/domestic/refunds/'.$payload->get('out_refund_no');
25
+        return 'v3/refund/domestic/refunds/' . $payload->get('out_refund_no');
26 26
     }
27 27
 
28 28
     /**
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         $config = get_wechat_config($params);
36 36
         $url = parent::getPartnerUri($rocket);
37 37
 
38
-        return $url.'?sub_mchid='.($params['sub_mchid'] ?? $config->get('sub_mch_id'));
38
+        return $url . '?sub_mchid=' . ($params['sub_mchid'] ?? $config->get('sub_mch_id'));
39 39
     }
40 40
 
41 41
     protected function getMethod(): string
Please login to merge, or discard this patch.