Test Setup Failed
Push — master ( 283450...f7c390 )
by Gianluca
02:01
created
src/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
     public function setProjectPassword($projectId, string $password)
82 82
     {
83
-        return $this->request('POST', "/projects/{$projectId}/password", ['password' => $password]);
83
+        return $this->request('POST', "/projects/{$projectId}/password", [ 'password' => $password ]);
84 84
     }
85 85
 
86 86
     public function publishProject($projectId)
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      * @param array $params
267 267
      * @return LushResponse
268 268
      */
269
-    private function request(string $method, string $path, array $params = [])
269
+    private function request(string $method, string $path, array $params = [ ])
270 270
     {
271 271
         return $this->httpClient
272 272
                 ->url("{$this->apiUrl}{$path}", $params)
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
     private function getRequestHeaders()
281 281
     {
282 282
         if (!$this->token) {
283
-            return [];
283
+            return [ ];
284 284
         }
285 285
 
286 286
         return [
Please login to merge, or discard this patch.