@@ -34,7 +34,6 @@ |
||
| 34 | 34 | use ApacheSolrForTypo3\Solr\Domain\Search\Query\ParameterBuilder\QueryFields; |
| 35 | 35 | use ApacheSolrForTypo3\Solr\Domain\Search\Query\ParameterBuilder\ReturnFields; |
| 36 | 36 | use ApacheSolrForTypo3\Solr\Domain\Search\Query\ParameterBuilder\TrigramPhraseFields; |
| 37 | -use ApacheSolrForTypo3\Solr\Domain\Site\SiteHashService; |
|
| 38 | 37 | use ApacheSolrForTypo3\Solr\FieldProcessor\PageUidToHierarchy; |
| 39 | 38 | use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
| 40 | 39 | use ApacheSolrForTypo3\Solr\Util; |
@@ -192,6 +192,7 @@ discard block |
||
| 192 | 192 | * Returns Query for Search which finds document for given page. |
| 193 | 193 | * Note: The Connection is per language as recommended in ext-solr docs. |
| 194 | 194 | * |
| 195 | + * @param integer $pageId |
|
| 195 | 196 | * @return Query |
| 196 | 197 | */ |
| 197 | 198 | public function buildPageQuery($pageId) |
@@ -215,6 +216,9 @@ discard block |
||
| 215 | 216 | /** |
| 216 | 217 | * Returns a query for single record |
| 217 | 218 | * |
| 219 | + * @param string $type |
|
| 220 | + * @param integer $uid |
|
| 221 | + * @param integer $pageId |
|
| 218 | 222 | * @return Query |
| 219 | 223 | */ |
| 220 | 224 | public function buildRecordQuery($type, $uid, $pageId): Query |
@@ -236,7 +240,7 @@ discard block |
||
| 236 | 240 | } |
| 237 | 241 | |
| 238 | 242 | /** |
| 239 | - * @param $resultsPerPage |
|
| 243 | + * @param integer $resultsPerPage |
|
| 240 | 244 | * @return QueryBuilder |
| 241 | 245 | */ |
| 242 | 246 | public function setResultsPerPage($resultsPerPage): QueryBuilder |
@@ -498,7 +502,7 @@ discard block |
||
| 498 | 502 | |
| 499 | 503 | /** |
| 500 | 504 | * @param string $rawQuery |
| 501 | - * @return Query|object |
|
| 505 | + * @return Query |
|
| 502 | 506 | */ |
| 503 | 507 | protected function getQueryInstance($rawQuery): Query |
| 504 | 508 | { |