@@ -139,7 +139,7 @@ |
||
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | /** |
| 142 | - * @param null $variantParent |
|
| 142 | + * @param SearchResult $variantParent |
|
| 143 | 143 | */ |
| 144 | 144 | public function setVariantParent($variantParent) |
| 145 | 145 | { |
@@ -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) |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * @param SearchResultSet $resultSet |
| 31 | 31 | * @param string $facetName |
| 32 | 32 | * @param array $facetConfiguration |
| 33 | - * @return OptionsFacet|null |
|
| 33 | + * @return null|\ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\AbstractOptionsFacet |
|
| 34 | 34 | */ |
| 35 | 35 | public function parse(SearchResultSet $resultSet, $facetName, array $facetConfiguration) |
| 36 | 36 | { |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | * @param SearchResultSet $resultSet |
| 33 | 33 | * @param string $facetName |
| 34 | 34 | * @param array $facetConfiguration |
| 35 | - * @return QueryGroupFacet|null |
|
| 35 | + * @return null|\ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\AbstractOptionsFacet |
|
| 36 | 36 | */ |
| 37 | 37 | public function parse(SearchResultSet $resultSet, $facetName, array $facetConfiguration) |
| 38 | 38 | { |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | * This copyright notice MUST APPEAR in all copies of the script! |
| 25 | 25 | ***************************************************************/ |
| 26 | 26 | |
| 27 | -use ApacheSolrForTypo3\Solr\Search; |
|
| 28 | 27 | use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSet; |
| 29 | 28 | use ApacheSolrForTypo3\Solr\Widget\AbstractWidgetViewHelper; |
| 30 | 29 | |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | * |
| 14 | 14 | * The TYPO3 project - inspiring people to share! |
| 15 | 15 | */ |
| 16 | -use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSet; |
|
| 17 | 16 | |
| 18 | 17 | /** |
| 19 | 18 | * Abstract item that represent a value of a facet. E.g. an option or a node |
@@ -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 | { |
@@ -990,7 +990,7 @@ discard block |
||
| 990 | 990 | /** |
| 991 | 991 | * Sets the fields to return by a query. |
| 992 | 992 | * |
| 993 | - * @param array|string $fieldList an array or comma-separated list of field names |
|
| 993 | + * @param string $fieldList an array or comma-separated list of field names |
|
| 994 | 994 | * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays |
| 995 | 995 | */ |
| 996 | 996 | public function setFieldList($fieldList = ['*', 'score']) |
@@ -1062,7 +1062,7 @@ discard block |
||
| 1062 | 1062 | * |
| 1063 | 1063 | * This query supports the complete Lucene Query Language. |
| 1064 | 1064 | * |
| 1065 | - * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
| 1065 | + * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
| 1066 | 1066 | * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt |
| 1067 | 1067 | */ |
| 1068 | 1068 | public function setAlternativeQuery($alternativeQuery) |
@@ -1361,7 +1361,7 @@ discard block |
||
| 1361 | 1361 | * Appends an item to a queryParameter that is an array or initializes it as empty array when it is not set. |
| 1362 | 1362 | * |
| 1363 | 1363 | * @param string $key |
| 1364 | - * @param mixed $value |
|
| 1364 | + * @param string $value |
|
| 1365 | 1365 | */ |
| 1366 | 1366 | private function appendToArrayQueryParameter($key, $value) |
| 1367 | 1367 | { |