Passed
Branch master (e3e986)
by Adam
04:38
created
src/CloudApi/ClientInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -168,13 +168,13 @@
 block discarded – undo
168 168
      */
169 169
     public function databaseBackup($id, $backupId);
170 170
 
171
-   /**
172
-    * Restores a database backup to a database in an environment.
173
-    *
174
-    * @param string $id
175
-    * @param string $backupId
176
-    * @return OperationResponse
177
-    */
171
+    /**
172
+     * Restores a database backup to a database in an environment.
173
+     *
174
+     * @param string $id
175
+     * @param string $backupId
176
+     * @return OperationResponse
177
+     */
178 178
     public function restoreDatabaseBackup($id, $backupId);
179 179
 
180 180
     /**
Please login to merge, or discard this patch.
src/CloudApi/Client.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -305,16 +305,16 @@  discard block
 block discarded – undo
305 305
      */
306 306
     public function databaseBackup($id, $backupId)
307 307
     {
308
-         return new BackupResponse($this->makeRequest('get', "/environments/${id}/database-backups/${backupId}"));
308
+            return new BackupResponse($this->makeRequest('get', "/environments/${id}/database-backups/${backupId}"));
309 309
     }
310 310
 
311
-   /**
312
-    * Restores a database backup to a database in an environment.
313
-    *
314
-    * @param string $id
315
-    * @param string $backupId
316
-    * @return OperationResponse
317
-    */
311
+    /**
312
+     * Restores a database backup to a database in an environment.
313
+     *
314
+     * @param string $id
315
+     * @param string $backupId
316
+     * @return OperationResponse
317
+     */
318 318
     public function restoreDatabaseBackup($id, $backupId)
319 319
     {
320 320
         return new OperationResponse(
@@ -332,9 +332,9 @@  discard block
 block discarded – undo
332 332
     public function copyFiles($idFrom, $idTo)
333 333
     {
334 334
         $options = [
335
-           'form_params' => [
336
-               'source' => $idFrom,
337
-           ],
335
+            'form_params' => [
336
+                'source' => $idFrom,
337
+            ],
338 338
         ];
339 339
 
340 340
         return new OperationResponse($this->makeRequest('post', "/environments/${idTo}/files", $options));
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 $members
15
-    */
13
+     * MembersResponse constructor.
14
+     * @param array $members
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.
src/Response/MembersResponse.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 $members
15
-    */
13
+     * MembersResponse constructor.
14
+     * @param array $members
15
+     */
16 16
     public function __construct($members)
17 17
     {
18 18
         parent::__construct(array_map(function ($member) {
Please login to merge, or discard this patch.
src/Response/PermissionsResponse.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
-    * PermissionsResponse constructor.
14
-    * @param array $permissions
15
-    */
13
+     * PermissionsResponse constructor.
14
+     * @param array $permissions
15
+     */
16 16
     public function __construct($permissions)
17 17
     {
18 18
         parent::__construct(array_map(function ($permission) {
Please login to merge, or discard this patch.
src/Response/TeamsResponse.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
-    * TeamsResponse constructor.
14
-    * @param array $teams
15
-    */
13
+     * TeamsResponse constructor.
14
+     * @param array $teams
15
+     */
16 16
     public function __construct($teams)
17 17
     {
18 18
         parent::__construct(array_map(function ($team) {
Please login to merge, or discard this patch.
src/Response/ServerResponse.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,15 +26,15 @@
 block discarded – undo
26 26
      */
27 27
     public function __construct($server)
28 28
     {
29
-         $this->id = $server->id;
30
-         $this->name = $server->name;
31
-         $this->hostname = $server->hostname;
32
-         $this->ip = $server->ip;
33
-         $this->status = $server->status;
34
-         $this->region = $server->region;
35
-         $this->roles = $server->roles;
36
-         $this->amiType = $server->ami_type;
37
-         $this->configuration = $server->configuration;
38
-         $this->flags = $server->flags;
29
+            $this->id = $server->id;
30
+            $this->name = $server->name;
31
+            $this->hostname = $server->hostname;
32
+            $this->ip = $server->ip;
33
+            $this->status = $server->status;
34
+            $this->region = $server->region;
35
+            $this->roles = $server->roles;
36
+            $this->amiType = $server->ami_type;
37
+            $this->configuration = $server->configuration;
38
+            $this->flags = $server->flags;
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
src/Response/EnvironmentsResponse.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
-    * EnvironmentsResponse constructor.
14
-    * @param array $environments
15
-    */
13
+     * EnvironmentsResponse constructor.
14
+     * @param array $environments
15
+     */
16 16
     public function __construct($environments)
17 17
     {
18 18
         parent::__construct(array_map(function ($environment) {
Please login to merge, or discard this patch.
src/Response/OrganizationsResponse.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
-    * OrganizationsResponse constructor.
14
-    * @param array $organizations
15
-    */
13
+     * OrganizationsResponse constructor.
14
+     * @param array $organizations
15
+     */
16 16
     public function __construct($organizations)
17 17
     {
18 18
         parent::__construct(array_map(function ($organization) {
Please login to merge, or discard this patch.