Passed
Push — main ( 02f88a...707c01 )
by Dylan
02:08
created
src/utils/Curl.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     private $_method = 'GET';
22 22
     private $_url    = '';
23 23
     private $_data    = [];
24
-    private $_isfile   = false;
24
+    private $_isfile = false;
25 25
     private $_headers = [
26 26
         'Content-Type'      => 'application/x-www-form-urlencoded',
27 27
         'X-Requested-By'    => self::USER_AGENT
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
         }
192 192
 
193 193
         if ($this->_enable_cache && $this->getMethod() === 'GET') {
194
-            $cache_key = urlencode($request_uri) . implode(',', $send_headers);
194
+            $cache_key = urlencode($request_uri).implode(',', $send_headers);
195 195
             if (array_key_exists($cache_key, self::$_cache)) {
196 196
                 return self::$_cache[$cache_key];
197 197
             }
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         curl_setopt($ch, CURLOPT_AUTOREFERER, true);
212 212
 
213 213
         if (!empty($send_headers))  curl_setopt($ch, CURLOPT_HTTPHEADER, $send_headers);
214
-        if (!is_null($post_data))   {
214
+        if (!is_null($post_data)) {
215 215
             curl_setopt($ch, CURLOPT_POST, 1);
216 216
             curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
217 217
         }
Please login to merge, or discard this patch.
src/models/Order.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,6 +93,6 @@
 block discarded – undo
93 93
             default: return '';
94 94
         }
95 95
 
96
-        return ($value !== 0) ?  number_format($value, 2) . $this->Currency : '-';
96
+        return ($value !== 0) ?  number_format($value, 2).$this->Currency : '-';
97 97
     }
98 98
 }
Please login to merge, or discard this patch.