@@ -311,7 +311,7 @@ |
||
| 311 | 311 | * Sets a request's parameter and its value. |
| 312 | 312 | * |
| 313 | 313 | * @param string $parameter Parameter name |
| 314 | - * @param mixed $value Parameter value. |
|
| 314 | + * @param string $value Parameter value. |
|
| 315 | 315 | */ |
| 316 | 316 | public function setParameter($parameter, $value) |
| 317 | 317 | { |
@@ -1041,7 +1041,7 @@ discard block |
||
| 1041 | 1041 | /** |
| 1042 | 1042 | * Sets the fields to return by a query. |
| 1043 | 1043 | * |
| 1044 | - * @param array|string $fieldList an array or comma-separated list of field names |
|
| 1044 | + * @param string $fieldList an array or comma-separated list of field names |
|
| 1045 | 1045 | * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays |
| 1046 | 1046 | */ |
| 1047 | 1047 | public function setFieldList($fieldList = ['*', 'score']) |
@@ -1117,7 +1117,7 @@ discard block |
||
| 1117 | 1117 | * |
| 1118 | 1118 | * This query supports the complete Lucene Query Language. |
| 1119 | 1119 | * |
| 1120 | - * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
| 1120 | + * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
| 1121 | 1121 | * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt |
| 1122 | 1122 | */ |
| 1123 | 1123 | public function setAlternativeQuery($alternativeQuery) |
@@ -131,7 +131,7 @@ |
||
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /** |
| 134 | - * @param null $variantParent |
|
| 134 | + * @param SearchResult $variantParent |
|
| 135 | 135 | */ |
| 136 | 136 | public function setVariantParent($variantParent) |
| 137 | 137 | { |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | use ApacheSolrForTypo3\Solr\Domain\Index\Queue\RecordMonitor\Helper\MountPagesUpdater; |
| 29 | 29 | use ApacheSolrForTypo3\Solr\Domain\Index\Queue\RecordMonitor\Helper\RootPageResolver; |
| 30 | 30 | use ApacheSolrForTypo3\Solr\GarbageCollector; |
| 31 | -use ApacheSolrForTypo3\Solr\System\Cache\TwoLevelCache; |
|
| 32 | 31 | use ApacheSolrForTypo3\Solr\System\Configuration\ExtensionConfiguration; |
| 33 | 32 | use ApacheSolrForTypo3\Solr\System\TCA\TCAService; |
| 34 | 33 | use ApacheSolrForTypo3\Solr\Util; |
@@ -460,6 +460,9 @@ discard block |
||
| 460 | 460 | return $facetCounts; |
| 461 | 461 | } |
| 462 | 462 | |
| 463 | + /** |
|
| 464 | + * @param string $facetField |
|
| 465 | + */ |
|
| 463 | 466 | public function getFacetFieldOptions($facetField) |
| 464 | 467 | { |
| 465 | 468 | $facetOptions = null; |
@@ -472,6 +475,9 @@ discard block |
||
| 472 | 475 | return $facetOptions; |
| 473 | 476 | } |
| 474 | 477 | |
| 478 | + /** |
|
| 479 | + * @param string $facetField |
|
| 480 | + */ |
|
| 475 | 481 | public function getFacetQueryOptions($facetField) |
| 476 | 482 | { |
| 477 | 483 | $options = []; |
@@ -494,6 +500,9 @@ discard block |
||
| 494 | 500 | return $options; |
| 495 | 501 | } |
| 496 | 502 | |
| 503 | + /** |
|
| 504 | + * @param string $rangeFacetField |
|
| 505 | + */ |
|
| 497 | 506 | public function getFacetRangeOptions($rangeFacetField) |
| 498 | 507 | { |
| 499 | 508 | return get_object_vars($this->getFacetCounts()->facet_ranges->$rangeFacetField); |
@@ -662,7 +662,7 @@ |
||
| 662 | 662 | * a complete and well formed "delete" xml document |
| 663 | 663 | * |
| 664 | 664 | * @param string $rawPost Expected to be utf-8 encoded xml document |
| 665 | - * @param float|int $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) |
|
| 665 | + * @param integer $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception) |
|
| 666 | 666 | * @return \Apache_Solr_Response |
| 667 | 667 | */ |
| 668 | 668 | public function delete($rawPost, $timeout = 3600) |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * This method decides if the condition is true or false |
| 50 | 50 | * |
| 51 | 51 | * @param array $arguments ViewHelper arguments to evaluate the condition for this ViewHelper. |
| 52 | - * @return bool |
|
| 52 | + * @return double |
|
| 53 | 53 | */ |
| 54 | 54 | protected static function evaluateCondition($arguments = null) |
| 55 | 55 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * @param SearchResultSet $resultSet |
| 27 | 27 | * @param string $facetName |
| 28 | 28 | * @param array $facetConfiguration |
| 29 | - * @return OptionsFacet|null |
|
| 29 | + * @return null|\ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\AbstractOptionsFacet |
|
| 30 | 30 | */ |
| 31 | 31 | public function parse(SearchResultSet $resultSet, $facetName, array $facetConfiguration) |
| 32 | 32 | { |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * @param SearchResultSet $resultSet |
| 32 | 32 | * @param string $facetName |
| 33 | 33 | * @param array $facetConfiguration |
| 34 | - * @return QueryGroupFacet|null |
|
| 34 | + * @return null|\ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\AbstractOptionsFacet |
|
| 35 | 35 | */ |
| 36 | 36 | public function parse(SearchResultSet $resultSet, $facetName, array $facetConfiguration) |
| 37 | 37 | { |