@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | $response = curl_exec($this->curl); |
| 138 | 138 | |
| 139 | 139 | if (curl_errno($this->curl)) { |
| 140 | - throw new DeepLException('There was a cURL Request Error : ' . curl_error($this->curl)); |
|
| 140 | + throw new DeepLException('There was a cURL Request Error : '.curl_error($this->curl)); |
|
| 141 | 141 | } |
| 142 | 142 | $httpCode = curl_getinfo($this->curl, CURLINFO_HTTP_CODE); |
| 143 | 143 | |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | unset($paramsArray['text']); |
| 206 | 206 | $textString = ''; |
| 207 | 207 | foreach ($text as $textElement) { |
| 208 | - $textString .= '&text=' . rawurlencode($textElement); |
|
| 208 | + $textString .= '&text='.rawurlencode($textElement); |
|
| 209 | 209 | } |
| 210 | 210 | } |
| 211 | 211 | |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | $body = http_build_query($paramsArray, null, '&'); |
| 219 | 219 | |
| 220 | 220 | if (isset($textString)) { |
| 221 | - $body = $textString . '&' . $body; |
|
| 221 | + $body = $textString.'&'.$body; |
|
| 222 | 222 | } |
| 223 | 223 | |
| 224 | 224 | return $body; |