@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | |
| 81 | 81 | $offerRequest = new Request( |
| 82 | 82 | 'GET', |
| 83 | - (string) $offerQuery, |
|
| 83 | + (string)$offerQuery, |
|
| 84 | 84 | $headers |
| 85 | 85 | ); |
| 86 | 86 | |
@@ -89,14 +89,14 @@ discard block |
||
| 89 | 89 | ->getBody() |
| 90 | 90 | ->getContents(); |
| 91 | 91 | |
| 92 | - $this->logger->debug('Send SAPI3 request with the following parameters: ' . json_encode($queryParameters)); |
|
| 93 | - $this->logger->debug('Response data: ' . $searchResponseData); |
|
| 92 | + $this->logger->debug('Send SAPI3 request with the following parameters: '.json_encode($queryParameters)); |
|
| 93 | + $this->logger->debug('Response data: '.$searchResponseData); |
|
| 94 | 94 | |
| 95 | 95 | $searchResponseData = json_decode($searchResponseData); |
| 96 | 96 | |
| 97 | 97 | $offerIds = array_reduce( |
| 98 | 98 | $searchResponseData->{'member'}, |
| 99 | - function (OfferIdentifierCollection $offerIds, $item) { |
|
| 99 | + function(OfferIdentifierCollection $offerIds, $item) { |
|
| 100 | 100 | return $offerIds->with( |
| 101 | 101 | $this->offerIdentifier->fromIri(Url::fromNative($item->{'@id'})) |
| 102 | 102 | ); |