Passed
Pull Request — master (#619)
by Songda
15:02 queued 05:16
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
     /**
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         $config = get_wechat_config($rocket->getParams());
35 35
         $url = parent::getPartnerUri($rocket);
36 36
 
37
-        return $url.'?sub_mchid='.($rocket->getPayload()->get('sub_mchid', $config->get('sub_mch_id')));
37
+        return $url . '?sub_mchid=' . ($rocket->getPayload()->get('sub_mchid', $config->get('sub_mch_id')));
38 38
     }
39 39
 
40 40
     protected function getMethod(): string
Please login to merge, or discard this patch.