@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | * |
| 321 | 321 | * @return mixed The JSON-decoded representation of the response body. |
| 322 | 322 | */ |
| 323 | - protected function get($path, array $queryParams=[]) { |
|
| 323 | + protected function get($path, array $queryParams = []) { |
|
| 324 | 324 | $uri = $this->options->uri . $path; |
| 325 | 325 | $uri = $this->httpClient->createUri($uri) |
| 326 | 326 | ->withQuery(http_build_query($queryParams)); |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | * |
| 340 | 340 | * @return mixed The value attribute of the JSON-decoded response body. |
| 341 | 341 | */ |
| 342 | - protected function getAllPages($path, array $queryParams=[]) { |
|
| 342 | + protected function getAllPages($path, array $queryParams = []) { |
|
| 343 | 343 | $values = []; |
| 344 | 344 | |
| 345 | 345 | $responseBody = (object) [ |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | * @return RequestInterface |
| 80 | 80 | */ |
| 81 | 81 | public function createRequest($method, $uri, $headers=[], $body=null, |
| 82 | - $protocolVersion='1.1') { |
|
| 82 | + $protocolVersion='1.1') { |
|
| 83 | 83 | return $this->messageFactory->createRequest( |
| 84 | 84 | $method, $uri, $headers, $body, $protocolVersion); |
| 85 | 85 | } |
@@ -78,8 +78,8 @@ |
||
| 78 | 78 | * |
| 79 | 79 | * @return RequestInterface |
| 80 | 80 | */ |
| 81 | - public function createRequest($method, $uri, $headers=[], $body=null, |
|
| 82 | - $protocolVersion='1.1') { |
|
| 81 | + public function createRequest($method, $uri, $headers = [], $body = null, |
|
| 82 | + $protocolVersion = '1.1') { |
|
| 83 | 83 | return $this->messageFactory->createRequest( |
| 84 | 84 | $method, $uri, $headers, $body, $protocolVersion); |
| 85 | 85 | } |