Completed
Push — master ( e8b1a1...2decb4 )
by Songda
02:40
created
src/Gateways/Alipay/Alipay.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -191,8 +191,8 @@
 block discarded – undo
191 191
     protected function buildPayHtml()
192 192
     {
193 193
         $sHtml = "<form id='alipaysubmit' name='alipaysubmit' action='" . $this->gateway . "?charset=utf-8' method='POST'>";
194
-        while (list ($key, $val) = each ($this->config)) {
195
-            $val = str_replace("'","&apos;",$val);
194
+        while (list ($key, $val) = each($this->config)) {
195
+            $val = str_replace("'", "&apos;", $val);
196 196
             $sHtml .= "<input type='hidden' name='" . $key . "' value='" . $val . "'/>";
197 197
         }
198 198
         $sHtml .= "<input type='submit' value='ok' style='display:none;''></form>";
Please login to merge, or discard this patch.
src/Gateways/Wechat/Wechat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
         foreach ($data as $key => $val) {
257 257
             if (is_numeric($val)) {
258 258
                 $xml .= "<" . $key . ">" . $val . "</" . $key . ">";
259
-            } else {
259
+            }else {
260 260
                 $xml .= "<" . $key . "><![CDATA[" . $val . "]]></" . $key . ">";
261 261
             }
262 262
         }
Please login to merge, or discard this patch.