@@ -175,7 +175,7 @@ |
||
175 | 175 | * This methods sets the page argument to an expected positive integer value in the arguments array. |
176 | 176 | * |
177 | 177 | * @param array $arguments |
178 | - * @return array |
|
178 | + * @return integer |
|
179 | 179 | */ |
180 | 180 | protected function adjustPageArgumentToPositiveInteger(array $arguments) |
181 | 181 | { |
@@ -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 |
@@ -414,7 +414,7 @@ |
||
414 | 414 | $response->response->docs = []; |
415 | 415 | } |
416 | 416 | |
417 | - if($response === null) { |
|
417 | + if ($response === null) { |
|
418 | 418 | throw new SolrIncompleteResponseException('The response retrieved from solr was incomplete', 1505989678); |
419 | 419 | } |
420 | 420 |