@@ -43,13 +43,13 @@ discard block |
||
43 | 43 | |
44 | 44 | public function search($query, $limit = 30, $start = 0, $sort = null) |
45 | 45 | { |
46 | - $queryParameters = 'q=' . urlencode($query) . '&start=' . $start . '&limit=' . $limit; |
|
46 | + $queryParameters = 'q='.urlencode($query).'&start='.$start.'&limit='.$limit; |
|
47 | 47 | |
48 | 48 | $offerQuery = $this->searchLocation->withQuery($queryParameters); |
49 | 49 | |
50 | 50 | $offerRequest = new Request( |
51 | 51 | 'GET', |
52 | - (string) $offerQuery |
|
52 | + (string)$offerQuery |
|
53 | 53 | ); |
54 | 54 | |
55 | 55 | $searchResponseData = json_decode($this->httpClient |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | $offerIds = array_reduce( |
61 | 61 | $searchResponseData->{'member'}, |
62 | - function (OfferIdentifierCollection $offerIds, $item) { |
|
62 | + function(OfferIdentifierCollection $offerIds, $item) { |
|
63 | 63 | return $offerIds->with( |
64 | 64 | $this->offerIdentifier->fromIri(Url::fromNative($item->{'@id'})) |
65 | 65 | ); |