@@ -168,13 +168,13 @@ |
||
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 | /** |
@@ -305,16 +305,16 @@ discard block |
||
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 |
||
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)); |
@@ -10,9 +10,9 @@ |
||
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) { |
@@ -10,9 +10,9 @@ |
||
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) { |
@@ -10,9 +10,9 @@ |
||
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) { |
@@ -10,9 +10,9 @@ |
||
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) { |
@@ -26,15 +26,15 @@ |
||
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 | } |
@@ -10,9 +10,9 @@ |
||
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) { |
@@ -10,9 +10,9 @@ |
||
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) { |