@@ -31,6 +31,7 @@ |
||
31 | 31 | * @param HttpClient $httpClient |
32 | 32 | * @param \ComponentManager\Platform\Platform $platform |
33 | 33 | * @param \stdClass $options |
34 | + * @return void |
|
34 | 35 | */ |
35 | 36 | public function __construct(Filesystem $filesystem, HttpClient $httpClient, |
36 | 37 | Platform $platform, stdClass $options); |
@@ -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) [ |
@@ -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 | } |