@@ -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 | { |
@@ -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; |
@@ -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 | { |
@@ -164,10 +164,10 @@ discard block |
||
| 164 | 164 | // direct access for small paths |
| 165 | 165 | case 1: |
| 166 | 166 | $this->data[$pathArray[0]] = $value; |
| 167 | - return; |
|
| 167 | + return; |
|
| 168 | 168 | case 2: |
| 169 | 169 | $this->data[$pathArray[0]][$pathArray[1]] = $value; |
| 170 | - return; |
|
| 170 | + return; |
|
| 171 | 171 | default: |
| 172 | 172 | $this->setDeepElementWithLoop($pathArray, $value); |
| 173 | 173 | } |
@@ -208,10 +208,10 @@ discard block |
||
| 208 | 208 | // direct access for small paths |
| 209 | 209 | case 1: |
| 210 | 210 | unset($this->data[$pathArray[0]]); |
| 211 | - return; |
|
| 211 | + return; |
|
| 212 | 212 | case 2: |
| 213 | 213 | unset($this->data[$pathArray[0]][$pathArray[1]]); |
| 214 | - return; |
|
| 214 | + return; |
|
| 215 | 215 | default: |
| 216 | 216 | $this->resetDeepElementWithLoop($pathArray); |
| 217 | 217 | } |
@@ -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 | { |