@@ -73,7 +73,7 @@ |
||
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(); |
@@ -290,13 +290,13 @@ discard block |
||
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 |
||
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 |
||
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 | /** |
@@ -10,9 +10,9 @@ |
||
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) { |