@@ -114,7 +114,6 @@ |
||
| 114 | 114 | /** |
| 115 | 115 | * Gets the related items of the current record's configured field. |
| 116 | 116 | * |
| 117 | - * @param array $configuration for the content object |
|
| 118 | 117 | * @param ContentObjectRenderer $parentContentObject parent content object |
| 119 | 118 | * @return array Array of related items, values already resolved from related records |
| 120 | 119 | */ |
@@ -294,7 +294,7 @@ |
||
| 294 | 294 | } |
| 295 | 295 | |
| 296 | 296 | /** |
| 297 | - * @param $site |
|
| 297 | + * @param Site $site |
|
| 298 | 298 | */ |
| 299 | 299 | protected function setSiteAndResetCore($site) |
| 300 | 300 | { |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | /** |
| 130 | 130 | * Emits a signal after all items was indexed |
| 131 | 131 | * |
| 132 | - * @param array $itemsToIndex |
|
| 132 | + * @param Item[] $itemsToIndex |
|
| 133 | 133 | */ |
| 134 | 134 | protected function emitAfterIndexItemsSignal($itemsToIndex) |
| 135 | 135 | { |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | /** |
| 135 | 135 | * Gets the last searched keywords from the database |
| 136 | 136 | * |
| 137 | - * @param int|bool $limit |
|
| 137 | + * @param integer $limit |
|
| 138 | 138 | * @return array An array containing the last searches of the current user |
| 139 | 139 | */ |
| 140 | 140 | protected function getLastSearchesFromDatabase($limit = false) |
@@ -416,7 +416,7 @@ discard block |
||
| 416 | 416 | /** |
| 417 | 417 | * Checks it the results should be hidden in the response. |
| 418 | 418 | * |
| 419 | - * @param $rawQuery |
|
| 419 | + * @param string $rawQuery |
|
| 420 | 420 | * @return bool |
| 421 | 421 | */ |
| 422 | 422 | protected function shouldHideResultsFromInitialSearch($rawQuery) |
@@ -608,7 +608,7 @@ discard block |
||
| 608 | 608 | } |
| 609 | 609 | |
| 610 | 610 | /** |
| 611 | - * @param $requestedPerPage |
|
| 611 | + * @param integer $requestedPerPage |
|
| 612 | 612 | */ |
| 613 | 613 | protected function setPerPageInSession($requestedPerPage) |
| 614 | 614 | { |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | /** |
| 134 | 134 | * Helper method to prefix an accessor with the arguments namespace. |
| 135 | 135 | * |
| 136 | - * @param $path |
|
| 136 | + * @param string $path |
|
| 137 | 137 | * @return string |
| 138 | 138 | */ |
| 139 | 139 | protected function prefixWithNamespace($path) |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | |
| 196 | 196 | /** |
| 197 | 197 | * @param $activeFacets |
| 198 | - * @return array|null |
|
| 198 | + * @return SearchRequest |
|
| 199 | 199 | * |
| 200 | 200 | * @return SearchRequest |
| 201 | 201 | */ |
@@ -323,7 +323,7 @@ discard block |
||
| 323 | 323 | /** |
| 324 | 324 | * Returns the sorting string in the url e.g. title asc. |
| 325 | 325 | * |
| 326 | - * @return string|null |
|
| 326 | + * @return string |
|
| 327 | 327 | */ |
| 328 | 328 | protected function getSorting() |
| 329 | 329 | { |
@@ -334,8 +334,8 @@ discard block |
||
| 334 | 334 | /** |
| 335 | 335 | * Helper function to get the sorting configuration name or direction. |
| 336 | 336 | * |
| 337 | - * @param $index |
|
| 338 | - * @return null |
|
| 337 | + * @param integer $index |
|
| 338 | + * @return string |
|
| 339 | 339 | */ |
| 340 | 340 | protected function getSortingPart($index) |
| 341 | 341 | { |
@@ -196,6 +196,7 @@ |
||
| 196 | 196 | * |
| 197 | 197 | * @param array $mergedRow |
| 198 | 198 | * @param array $statisticsRow |
| 199 | + * @param string $fieldName |
|
| 199 | 200 | * @return float|int |
| 200 | 201 | */ |
| 201 | 202 | protected function getAverageFromField(array &$mergedRow, array $statisticsRow, $fieldName) |
@@ -150,6 +150,7 @@ |
||
| 150 | 150 | /** |
| 151 | 151 | * Renders a numeric range facet by providing a slider |
| 152 | 152 | * |
| 153 | + * @return string |
|
| 153 | 154 | */ |
| 154 | 155 | abstract protected function renderFacetOptions(); |
| 155 | 156 | |
@@ -106,6 +106,7 @@ |
||
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | 108 | * tbd |
| 109 | + * @param string $facetName |
|
| 109 | 110 | */ |
| 110 | 111 | protected function buildAddFacetUrl($facetName) |
| 111 | 112 | { |