@@ -78,7 +78,7 @@ |
||
| 78 | 78 | * |
| 79 | 79 | * @param SearchRequest $searchRequest |
| 80 | 80 | * @param string $additionalFilters |
| 81 | - * @return array |
|
| 81 | + * @return string |
|
| 82 | 82 | */ |
| 83 | 83 | public function getSuggestions(SearchRequest $searchRequest, $additionalFilters) : array |
| 84 | 84 | { |
@@ -256,7 +256,7 @@ |
||
| 256 | 256 | * @param string $additionalFilters |
| 257 | 257 | * @return SuggestQuery |
| 258 | 258 | */ |
| 259 | - protected function buildSuggestQuery(string $queryString ,string $additionalFilters) : SuggestQuery |
|
| 259 | + protected function buildSuggestQuery(string $queryString, string $additionalFilters) : SuggestQuery |
|
| 260 | 260 | { |
| 261 | 261 | $suggestQuery = GeneralUtility::makeInstance(SuggestQuery::class, $queryString); |
| 262 | 262 | |
@@ -419,7 +419,7 @@ |
||
| 419 | 419 | $response->setParsedData($parsedData); |
| 420 | 420 | } |
| 421 | 421 | |
| 422 | - if($response === null) { |
|
| 422 | + if ($response === null) { |
|
| 423 | 423 | throw new SolrIncompleteResponseException('The response retrieved from solr was incomplete', 1505989678); |
| 424 | 424 | } |
| 425 | 425 | |