@@ -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 | { |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | */ |
| 148 | 148 | protected function getSolrSuggestions(SuggestQuery $suggestQuery) : array |
| 149 | 149 | { |
| 150 | - $pageId = $this->tsfe->getRequestedId(); |
|
| 150 | + $pageId = $this->tsfe->getRequestedId(); |
|
| 151 | 151 | $languageId = $this->tsfe->sys_language_uid; |
| 152 | 152 | $solr = GeneralUtility::makeInstance(ConnectionManager::class)->getConnectionByPageId($pageId, $languageId); |
| 153 | 153 | $search = GeneralUtility::makeInstance(Search::class, $solr); |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | * @param string $additionalFilters |
| 258 | 258 | * @return SuggestQuery |
| 259 | 259 | */ |
| 260 | - protected function buildSuggestQuery(string $queryString , string $additionalFilters) : SuggestQuery |
|
| 260 | + protected function buildSuggestQuery(string $queryString, string $additionalFilters) : SuggestQuery |
|
| 261 | 261 | { |
| 262 | 262 | $suggestQuery = GeneralUtility::makeInstance(SuggestQuery::class, $queryString); |
| 263 | 263 | |