Passed
Branch tests (55cf46)
by Adam
02:06
created
src/CloudApi/Connector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     public function makeRequest(string $verb, string $path, array $query = [], array $options = [])
74 74
     {
75 75
         try {
76
-            $response = $this->client->$verb(self::BASE_URI . $path, $options);
76
+            $response = $this->client->$verb(self::BASE_URI.$path, $options);
77 77
         } catch (ClientException $e) {
78 78
             print $e->getMessage();
79 79
             $response = $e->getResponse();
Please login to merge, or discard this patch.
src/CloudApi/Client.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -290,13 +290,13 @@  discard block
 block discarded – undo
290 290
      */
291 291
     public function databaseBackup($environmentUuid, $backupId)
292 292
     {
293
-         return new BackupResponse(
294
-             $this->connector->request(
295
-                 'get',
296
-                 "/environments/${environmentUuid}/database-backups/${backupId}",
297
-                 $this->query
298
-             )
299
-         );
293
+            return new BackupResponse(
294
+                $this->connector->request(
295
+                    'get',
296
+                    "/environments/${environmentUuid}/database-backups/${backupId}",
297
+                    $this->query
298
+                )
299
+            );
300 300
     }
301 301
 
302 302
     /**
@@ -327,9 +327,9 @@  discard block
 block discarded – undo
327 327
     public function copyFiles($environmentUuidFrom, $environmentUuidTo)
328 328
     {
329 329
         $options = [
330
-           'form_params' => [
331
-               'source' => $environmentUuidFrom,
332
-           ],
330
+            'form_params' => [
331
+                'source' => $environmentUuidFrom,
332
+            ],
333 333
         ];
334 334
 
335 335
         return new OperationResponse(
@@ -869,15 +869,15 @@  discard block
 block discarded – undo
869 869
      */
870 870
     public function renameTeam($teamUuid, $name)
871 871
     {
872
-          $options = [
872
+            $options = [
873 873
                 'form_params' => [
874
-                      'name' => $name,
875
-                  ],
874
+                        'name' => $name,
875
+                    ],
876 876
             ];
877 877
 
878
-          return new OperationResponse(
879
-              $this->connector->request('put', "/teams/${teamUuid}", $options)
880
-          );
878
+            return new OperationResponse(
879
+                $this->connector->request('put', "/teams/${teamUuid}", $options)
880
+            );
881 881
     }
882 882
 
883 883
     /**
Please login to merge, or discard this patch.
src/Response/InvitationsResponse.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 {
11 11
 
12 12
     /**
13
-    * MembersResponse constructor.
14
-    * @param array $invitations
15
-    */
13
+     * MembersResponse constructor.
14
+     * @param array $invitations
15
+     */
16 16
     public function __construct($invitations)
17 17
     {
18 18
         parent::__construct(array_map(function ($invitation) {
Please login to merge, or discard this patch.