@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $this->projectId = $projectId; |
| 51 | 51 | $this->apiKey = $apiKey; |
| 52 | 52 | |
| 53 | - $this->httpClient = isset($client) ? $client : new HttpClient(['base_uri' => $baseUri]); |
|
| 53 | + $this->httpClient = isset($client) ? $client : new HttpClient(['base_uri' => $baseUri]); |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /** |
@@ -80,8 +80,7 @@ |
||
| 80 | 80 | if (function_exists('curl_file_create')) |
| 81 | 81 | { |
| 82 | 82 | $post_params['file'] = curl_file_create($file); |
| 83 | - } |
|
| 84 | - else |
|
| 83 | + } else |
|
| 85 | 84 | { |
| 86 | 85 | /* |
| 87 | 86 | * This does NOT seem to work with Mrs. Crowdin... |
@@ -80,8 +80,7 @@ |
||
| 80 | 80 | if (function_exists('curl_file_create')) |
| 81 | 81 | { |
| 82 | 82 | $post_params['file'] = curl_file_create($file); |
| 83 | - } |
|
| 84 | - else |
|
| 83 | + } else |
|
| 85 | 84 | { |
| 86 | 85 | /* |
| 87 | 86 | * This does NOT seem to work with Mrs. Crowdin... |