Completed
Push — master ( bf6a7e...87baad )
by Songda
01:52
created
src/Traits/HasHttpRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
         if (!is_array($params)) {
53 53
             $options['body'] = $params;
54
-        } else {
54
+        }else {
55 55
             $options['form_params'] = $params;
56 56
         }
57 57
 
Please login to merge, or discard this patch.
src/Gateways/Wechat/Wechat.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 
220 220
         if ($cert) {
221 221
             $data = $this->fromXml($this->post($end_point, $this->toXml($this->config), ['cert' => $this->user_config->get('cert_client', ''), 'ssl_key' => $this->user_config->get('cert_key', '')]));
222
-        } else {
222
+        }else {
223 223
             $data = $this->fromXml($this->post($end_point, $this->toXml($this->config)));
224 224
         }
225 225
 
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
         foreach ($data as $key => $val) {
335 335
             if (is_numeric($val)) {
336 336
                 $xml .= "<" . $key . ">" . $val . "</" . $key . ">";
337
-            } else {
337
+            }else {
338 338
                 $xml .= "<" . $key . "><![CDATA[" . $val . "]]></" . $key . ">";
339 339
             }
340 340
         }
Please login to merge, or discard this patch.