Completed
Push — master ( 87baad...de46dc )
by Songda
01:36
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.
src/Pay.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      * 
55 55
      * @param   string     $driver [description]
56 56
      * 
57
-     * @return  object             [description]
57
+     * @return  Pay             [description]
58 58
      */
59 59
     public function driver($driver)
60 60
     {
Please login to merge, or discard this patch.
src/Support/Config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      *
69 69
      * @param   string     $key   [description]
70 70
      *
71
-     * @param   array      $value [description]
71
+     * @param   string|null      $value [description]
72 72
      */
73 73
     public function set(string $key, $value)
74 74
     {
Please login to merge, or discard this patch.