@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | |
207 | 207 | $headerLines[] = 'X-HTTP-Method-Override: ' . $method; //@see: http://tr.php.net/curl_setopt#109634 |
208 | 208 | |
209 | - $options[CURLOPT_CUSTOMREQUEST] = $method; //@see: http://tr.php.net/curl_setopt#109634 |
|
209 | + $options[CURLOPT_CUSTOMREQUEST] = $method; //@see: http://tr.php.net/curl_setopt#109634 |
|
210 | 210 | $options[CURLOPT_HEADER] = 1; |
211 | 211 | $options[CURLOPT_HTTPHEADER] = $headerLines; |
212 | 212 | //@todo needed we want to work with json? |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | } |
221 | 221 | |
222 | 222 | if (!empty($parameters)) { |
223 | - $urlWithParameters = $url . '?'. http_build_query($parameters); |
|
223 | + $urlWithParameters = $url . '?' . http_build_query($parameters); |
|
224 | 224 | } else { |
225 | 225 | $urlWithParameters = $url; |
226 | 226 | } |