Test Setup Failed
Pull Request — master (#70)
by An
01:24
created
src/Upyun/Api/SyncVideo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,17 +26,17 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.