@@ -73,8 +73,8 @@ discard block |
||
73 | 73 | |
74 | 74 | /** |
75 | 75 | * @param SearchRequest $searchRequest |
76 | - * @param $additionalFilters |
|
77 | - * @return array |
|
76 | + * @param string $additionalFilters |
|
77 | + * @return string |
|
78 | 78 | */ |
79 | 79 | public function getSuggestions(SearchRequest $searchRequest, $additionalFilters) { |
80 | 80 | $solrSuggestions = $this->getSolrSuggestions($searchRequest, $additionalFilters); |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | * Adds documents from a collection to the result collection as soon as the limit is not reached. |
204 | 204 | * |
205 | 205 | * @param array $documents |
206 | - * @param array $documentsToAdd |
|
206 | + * @param \Apache_Solr_Document[] $documentsToAdd |
|
207 | 207 | * @param integer $maxDocuments |
208 | 208 | * @return array |
209 | 209 | */ |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | /** |
241 | 241 | * Runs a search and returns the results. |
242 | 242 | * |
243 | - * @param $bestSuggestionRequest |
|
243 | + * @param SearchRequest $bestSuggestionRequest |
|
244 | 244 | * @return \ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSet |
245 | 245 | */ |
246 | 246 | protected function doASearch($bestSuggestionRequest) |
@@ -89,7 +89,7 @@ |
||
89 | 89 | |
90 | 90 | $suggestions = $this->getSuggestionArray($solrSuggestions, $maxSuggestions); |
91 | 91 | |
92 | - if(!$buildTopResults) { |
|
92 | + if (!$buildTopResults) { |
|
93 | 93 | return $this->getResultArray($searchRequest, $suggestions, [], false); |
94 | 94 | } |
95 | 95 |