@@ -62,7 +62,7 @@ |
||
62 | 62 | */ |
63 | 63 | public function addHeader(array $header) |
64 | 64 | { |
65 | - $this->options[ 'headers' ][] = $header; |
|
65 | + $this->options[ 'headers' ][ ] = $header; |
|
66 | 66 | return $this; |
67 | 67 | } |
68 | 68 |
@@ -15,7 +15,7 @@ |
||
15 | 15 | $this->httpClient = $httpClient ?: new HttpClient; |
16 | 16 | } |
17 | 17 | |
18 | - public function listMarketcatalogue($filter = [], $marketProjection = [], $sort = null, $maxResults = 100, $locale = null) |
|
18 | + public function listMarketcatalogue($filter = [ ], $marketProjection = [ ], $sort = null, $maxResults = 100, $locale = null) |
|
19 | 19 | { |
20 | 20 | return $this->httpClient |
21 | 21 | ->setMethod('post') |