@@ -26,17 +26,17 @@ |
||
| 26 | 26 | 'timeout' => $this->config->timeout, |
| 27 | 27 | ]); |
| 28 | 28 | |
| 29 | - $path = '/' . $this->config->serviceName . $path; |
|
| 29 | + $path = '/'.$this->config->serviceName.$path; |
|
| 30 | 30 | $method = 'POST'; |
| 31 | 31 | $signedHeaders = Signature::getHeaderSign($this->config, $method, $path); |
| 32 | 32 | |
| 33 | - $url = $this->config->getSyncVideoEndPoint() . $path; |
|
| 33 | + $url = $this->config->getSyncVideoEndPoint().$path; |
|
| 34 | 34 | $response = $client->request($method, $url, [ |
| 35 | 35 | 'headers' => $signedHeaders, |
| 36 | 36 | 'json' => $params |
| 37 | 37 | ]); |
| 38 | 38 | |
| 39 | - $body = (string)$response->getBody(); |
|
| 39 | + $body = (string) $response->getBody(); |
|
| 40 | 40 | return json_decode($body, true); |
| 41 | 41 | } |
| 42 | 42 | } |