@@ -43,15 +43,15 @@ |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | - * Takes parameters passed in, makes a request to the API, and processes the response. |
|
| 47 | - * |
|
| 48 | - * @param string $verb |
|
| 49 | - * @param string $path |
|
| 50 | - * @param array $query |
|
| 51 | - * @param array $options |
|
| 52 | - * |
|
| 53 | - * @return object|array|StreamInterface |
|
| 54 | - */ |
|
| 46 | + * Takes parameters passed in, makes a request to the API, and processes the response. |
|
| 47 | + * |
|
| 48 | + * @param string $verb |
|
| 49 | + * @param string $path |
|
| 50 | + * @param array $query |
|
| 51 | + * @param array $options |
|
| 52 | + * |
|
| 53 | + * @return object|array|StreamInterface |
|
| 54 | + */ |
|
| 55 | 55 | public function request(string $verb, string $path, array $options = []) |
| 56 | 56 | { |
| 57 | 57 | $options['query'] = $this->query; |
@@ -12,16 +12,16 @@ |
||
| 12 | 12 | interface ClientInterface |
| 13 | 13 | { |
| 14 | 14 | |
| 15 | - /** |
|
| 16 | - * Makes a request to the API. |
|
| 17 | - * |
|
| 18 | - * @param string $verb |
|
| 19 | - * @param string $path |
|
| 20 | - * @param array $query |
|
| 21 | - * @param array $options |
|
| 22 | - * |
|
| 23 | - * @return object|array|StreamInterface |
|
| 24 | - */ |
|
| 15 | + /** |
|
| 16 | + * Makes a request to the API. |
|
| 17 | + * |
|
| 18 | + * @param string $verb |
|
| 19 | + * @param string $path |
|
| 20 | + * @param array $query |
|
| 21 | + * @param array $options |
|
| 22 | + * |
|
| 23 | + * @return object|array|StreamInterface |
|
| 24 | + */ |
|
| 25 | 25 | public function request(string $verb, string $path, array $options = []); |
| 26 | 26 | |
| 27 | 27 | /** |
@@ -72,12 +72,12 @@ discard block |
||
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | - * Backup a database. |
|
| 76 | - * |
|
| 77 | - * @param string $environmentUuid |
|
| 78 | - * @param string $dbName |
|
| 79 | - * @return OperationResponse |
|
| 80 | - */ |
|
| 75 | + * Backup a database. |
|
| 76 | + * |
|
| 77 | + * @param string $environmentUuid |
|
| 78 | + * @param string $dbName |
|
| 79 | + * @return OperationResponse |
|
| 80 | + */ |
|
| 81 | 81 | public function createDatabaseBackup($environmentUuid, $dbName) |
| 82 | 82 | { |
| 83 | 83 | return new OperationResponse( |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | { |
| 333 | 333 | |
| 334 | 334 | $options = [ |
| 335 | - 'form_params' => $config, |
|
| 335 | + 'form_params' => $config, |
|
| 336 | 336 | ]; |
| 337 | 337 | |
| 338 | 338 | return new OperationResponse( |