@@ -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 | { |
@@ -1152,7 +1152,7 @@ |
||
| 1152 | 1152 | } |
| 1153 | 1153 | |
| 1154 | 1154 | /** |
| 1155 | - * @param $templateContent |
|
| 1155 | + * @param string $templateContent |
|
| 1156 | 1156 | * @return mixed |
| 1157 | 1157 | */ |
| 1158 | 1158 | public function setTemplateContent($templateContent) |
@@ -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) |
@@ -385,7 +385,7 @@ discard block |
||
| 385 | 385 | * different value for non-database-record types. |
| 386 | 386 | * @param string $additionalRecordFields for sql-query |
| 387 | 387 | * |
| 388 | - * @return array|NULL |
|
| 388 | + * @return string |
|
| 389 | 389 | */ |
| 390 | 390 | protected function getRecordCached($itemType, $itemUid, $additionalRecordFields) |
| 391 | 391 | { |
@@ -937,7 +937,7 @@ discard block |
||
| 937 | 937 | * Marks an item as failed and causes the indexer to skip the item in the |
| 938 | 938 | * next run. |
| 939 | 939 | * |
| 940 | - * @param int|Item $item Either the item's Index Queue uid or the complete item |
|
| 940 | + * @param Item $item Either the item's Index Queue uid or the complete item |
|
| 941 | 941 | * @param string $errorMessage Error message |
| 942 | 942 | */ |
| 943 | 943 | public function markItemAsFailed($item, $errorMessage = '') |
@@ -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 | { |