@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | } |
| 128 | 128 | switch ($param) { |
| 129 | 129 | case static::PARAM_SPEC_FILE: |
| 130 | - return (version_compare(PHP_VERSION, '5.5.0') >= 0) ? new \CURLFile($this->paramsSpec[$param]) : '@'.$this->paramsSpec[$param]; |
|
| 130 | + return (version_compare(PHP_VERSION, '5.5.0') >= 0) ? new \CURLFile($this->paramsSpec[$param]) : '@' . $this->paramsSpec[$param]; |
|
| 131 | 131 | case static::PARAM_SPEC_KEY: |
| 132 | 132 | return is_callable($this->paramsSpec[$param]) ? $this->paramsSpec[$param]() : $this->paramsSpec[$param]; |
| 133 | 133 | case static::PARAM_SPEC_CAPTCHA: |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | $uri[] = "$key=$value"; |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | - return "{$this->getBaseUrl()}{$this->resUrl}?".implode('&', $uri); |
|
| 187 | + return "{$this->getBaseUrl()}{$this->resUrl}?" . implode('&', $uri); |
|
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | /** |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | */ |
| 203 | 203 | protected function getInUrl() |
| 204 | 204 | { |
| 205 | - return $this->getBaseUrl().$this->inUrl; |
|
| 205 | + return $this->getBaseUrl() . $this->inUrl; |
|
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | /** |