@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * @return array|IResponseDataInterface |
| 17 | 17 | */ |
| 18 | - public function fetch(): array|IResponseDataInterface |
|
| 18 | + public function fetch(): array | IResponseDataInterface |
|
| 19 | 19 | { |
| 20 | 20 | $item = current($this->collection); |
| 21 | 21 | next($this->collection); |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | $queryString = $this->buildRequestParams($queryParams); |
| 18 | 18 | $url = $this->credentials->getHost() . $endpoint . '?' . $queryString; |
| 19 | 19 | $this->addCurlOpt(CURLOPT_URL, $this->credentials->getHost() . $endpoint . '?' . $queryString) |
| 20 | - ->addCurlOpt(CURLOPT_CUSTOMREQUEST, EnumHttpMethods::GET); |
|
| 20 | + ->addCurlOpt(CURLOPT_CUSTOMREQUEST, EnumHttpMethods::GET); |
|
| 21 | 21 | |
| 22 | 22 | $this->auth($queryString); |
| 23 | 23 | |