@@ -119,7 +119,6 @@ |
||
119 | 119 | /** |
120 | 120 | * Gets the related items of the current record's configured field. |
121 | 121 | * |
122 | - * @param array $configuration for the content object |
|
123 | 122 | * @param ContentObjectRenderer $parentContentObject parent content object |
124 | 123 | * @return array Array of related items, values already resolved from related records |
125 | 124 | */ |
@@ -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 | { |
@@ -136,7 +136,7 @@ |
||
136 | 136 | /** |
137 | 137 | * Emits a signal after all items was indexed |
138 | 138 | * |
139 | - * @param array $itemsToIndex |
|
139 | + * @param Item[] $itemsToIndex |
|
140 | 140 | */ |
141 | 141 | protected function emitAfterIndexItemsSignal($itemsToIndex) |
142 | 142 | { |
@@ -421,7 +421,7 @@ discard block |
||
421 | 421 | /** |
422 | 422 | * Checks it the results should be hidden in the response. |
423 | 423 | * |
424 | - * @param $rawQuery |
|
424 | + * @param string $rawQuery |
|
425 | 425 | * @return bool |
426 | 426 | */ |
427 | 427 | protected function shouldHideResultsFromInitialSearch($rawQuery) |
@@ -613,7 +613,7 @@ discard block |
||
613 | 613 | } |
614 | 614 | |
615 | 615 | /** |
616 | - * @param $requestedPerPage |
|
616 | + * @param integer $requestedPerPage |
|
617 | 617 | */ |
618 | 618 | protected function setPerPageInSession($requestedPerPage) |
619 | 619 | { |
@@ -153,6 +153,7 @@ |
||
153 | 153 | /** |
154 | 154 | * Renders a numeric range facet by providing a slider |
155 | 155 | * |
156 | + * @return string |
|
156 | 157 | */ |
157 | 158 | abstract protected function renderFacetOptions(); |
158 | 159 |
@@ -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 | { |
@@ -143,6 +143,7 @@ |
||
143 | 143 | * characters. |
144 | 144 | * |
145 | 145 | * @param string String to clean |
146 | + * @param string $content |
|
146 | 147 | * @return string String cleaned from tags and special whitespace characters |
147 | 148 | */ |
148 | 149 | public static function cleanContent($content) |
@@ -99,7 +99,7 @@ |
||
99 | 99 | * Indexes an item from the indexing queue. |
100 | 100 | * |
101 | 101 | * @param Item $item An index queue item |
102 | - * @return Apache_Solr_Response The Apache Solr response |
|
102 | + * @return boolean The Apache Solr response |
|
103 | 103 | */ |
104 | 104 | public function index(Item $item) |
105 | 105 | { |
@@ -350,6 +350,9 @@ |
||
350 | 350 | } |
351 | 351 | } |
352 | 352 | |
353 | + /** |
|
354 | + * @param string $key |
|
355 | + */ |
|
353 | 356 | public function hasIndexingProperty($key) |
354 | 357 | { |
355 | 358 | $this->loadIndexingProperties(); |