Completed
Pull Request — master (#289)
by wang
01:19
created
src/Gateways/Alipay/MiniGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function pay($endpoint, array $payload): Collection
33 33
     {
34
-        $biz_array=json_decode($payload['biz_content'], true);
34
+        $biz_array = json_decode($payload['biz_content'], true);
35 35
         if (empty($biz_array['buyer_id'])) {
36 36
             throw new InvalidArgumentException('buyer_id required');
37 37
         }
Please login to merge, or discard this patch.
src/Gateways/Alipay/AppGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $payload['method'] = 'alipay.trade.app.pay';
28 28
 
29
-        $biz_array=json_decode($payload['biz_content'], true);
29
+        $biz_array = json_decode($payload['biz_content'], true);
30 30
 
31 31
         if (($this->mode === Alipay::MODE_SERVICE) && (!empty(Support::getInstance()->pid))) {
32 32
             //服务商模式且服务商pid参数不为空
Please login to merge, or discard this patch.