| @@ -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 |      { | 
| @@ -165,10 +165,10 @@ | ||
| 165 | 165 | // direct access for small paths | 
| 166 | 166 | case 1: | 
| 167 | 167 | $this->data[$pathArray[0]] = $value; | 
| 168 | - return; | |
| 168 | + return; | |
| 169 | 169 | case 2: | 
| 170 | 170 | $this->data[$pathArray[0]][$pathArray[1]] = $value; | 
| 171 | - return; | |
| 171 | + return; | |
| 172 | 172 | default: | 
| 173 | 173 | $this->setDeepElementWithLoop($pathArray, $value); | 
| 174 | 174 | } | 
| @@ -324,7 +324,7 @@ | ||
| 324 | 324 | * Sets a request's parameter and its value. | 
| 325 | 325 | * | 
| 326 | 326 | * @param string $parameter Parameter name | 
| 327 | - * @param mixed $value Parameter value. | |
| 327 | + * @param string $value Parameter value. | |
| 328 | 328 | */ | 
| 329 | 329 | public function setParameter($parameter, $value) | 
| 330 | 330 |      { | 
| @@ -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) | 
| @@ -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 |      { | 
| @@ -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 |      { | 
| @@ -49,13 +49,13 @@ | ||
| 49 | 49 | */ | 
| 50 | 50 | protected $endOffset = 0; | 
| 51 | 51 | |
| 52 | - /** | |
| 53 | - * @param string $suggestion the suggested term | |
| 54 | - * @param string $missSpelled the misspelled original term | |
| 55 | - * @param int $numFound | |
| 56 | - * @param int $startOffset | |
| 57 | - * @param int $endOffset | |
| 58 | - */ | |
| 52 | + /** | |
| 53 | + * @param string $suggestion the suggested term | |
| 54 | + * @param string $missSpelled the misspelled original term | |
| 55 | + * @param int $numFound | |
| 56 | + * @param int $startOffset | |
| 57 | + * @param int $endOffset | |
| 58 | + */ | |
| 59 | 59 | public function __construct($suggestion = '', $missSpelled = '', $numFound = 1, $startOffset = 0, $endOffset = 0) | 
| 60 | 60 |      { | 
| 61 | 61 | $this->suggestion = $suggestion; |