@@ -75,7 +75,7 @@ |
||
| 75 | 75 | * @param ReviewInterface $review |
| 76 | 76 | * @param ReviewableInterface[] $reviewSubjectsToRecalculate |
| 77 | 77 | * |
| 78 | - * @return array |
|
| 78 | + * @return ReviewableInterface[] |
|
| 79 | 79 | */ |
| 80 | 80 | private function removeReviewsAndExtractSubject(ReviewInterface $review, array $reviewSubjectsToRecalculate) |
| 81 | 81 | { |
@@ -191,8 +191,8 @@ discard block |
||
| 191 | 191 | /** |
| 192 | 192 | * @param null $facets |
| 193 | 193 | * @param $configuration |
| 194 | - * @param $taxon |
|
| 195 | - * @param null $types |
|
| 194 | + * @param string $taxon |
|
| 195 | + * @param string[] $types |
|
| 196 | 196 | * |
| 197 | 197 | * @return mixed |
| 198 | 198 | */ |
@@ -231,11 +231,11 @@ discard block |
||
| 231 | 231 | } |
| 232 | 232 | |
| 233 | 233 | /** |
| 234 | - * @param $searchTerm |
|
| 234 | + * @param string $searchTerm |
|
| 235 | 235 | * @param null $appliedFilters |
| 236 | 236 | * @param $configuration |
| 237 | - * @param $preSearchTaxonFilter |
|
| 238 | - * @param $types |
|
| 237 | + * @param string $preSearchTaxonFilter |
|
| 238 | + * @param string[] $types |
|
| 239 | 239 | * |
| 240 | 240 | * @return mixed |
| 241 | 241 | */ |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | } |
| 277 | 277 | |
| 278 | 278 | /** |
| 279 | - * @param $elasticaQuery |
|
| 279 | + * @param Query $elasticaQuery |
|
| 280 | 280 | * @param null $appliedFilters |
| 281 | 281 | * @param $configuration |
| 282 | 282 | * |
@@ -416,10 +416,10 @@ discard block |
||
| 416 | 416 | /** |
| 417 | 417 | * @param $facets |
| 418 | 418 | * @param $appliedFilters |
| 419 | - * @param $rangeFilters |
|
| 419 | + * @param BoolOr $rangeFilters |
|
| 420 | 420 | * @param $termFilters |
| 421 | 421 | * @param $aggregations |
| 422 | - * @param $boolFilter |
|
| 422 | + * @param BoolFilter $boolFilter |
|
| 423 | 423 | * |
| 424 | 424 | * @return array |
| 425 | 425 | */ |
@@ -525,7 +525,7 @@ discard block |
||
| 525 | 525 | } |
| 526 | 526 | |
| 527 | 527 | /** |
| 528 | - * @param $filterSetName |
|
| 528 | + * @param string $filterSetName |
|
| 529 | 529 | */ |
| 530 | 530 | private function initializeFacetGroup($filterSetName) |
| 531 | 531 | { |
@@ -421,7 +421,7 @@ |
||
| 421 | 421 | /** |
| 422 | 422 | * This functions unsets the configured filters based on the facet groups |
| 423 | 423 | * |
| 424 | - * @param $filterSetName |
|
| 424 | + * @param string $filterSetName |
|
| 425 | 425 | */ |
| 426 | 426 | private function initializeFacetGroup($filterSetName) |
| 427 | 427 | { |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | - * @param $message |
|
| 76 | + * @param string $message |
|
| 77 | 77 | */ |
| 78 | 78 | private function addToOutput($message) |
| 79 | 79 | { |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | * |
| 128 | 128 | * @param string $schemaAlias |
| 129 | 129 | * |
| 130 | - * @return bool |
|
| 130 | + * @return boolean|null |
|
| 131 | 131 | */ |
| 132 | 132 | protected function isGrantedOr403($schemaAlias) |
| 133 | 133 | { |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * @param string $parameter |
| 21 | 21 | * @param int $code |
| 22 | - * @param Exception $previous |
|
| 22 | + * @param \Exception $previous |
|
| 23 | 23 | */ |
| 24 | 24 | public function __construct($parameter, $code = 0, \Exception $previous = null) |
| 25 | 25 | { |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * @param string $parameterName |
| 29 | 29 | * @param ParameterTransformerInterface $transformer |
| 30 | + * @return SettingsBuilder |
|
| 30 | 31 | */ |
| 31 | 32 | public function setTransformer($parameterName, ParameterTransformerInterface $transformer); |
| 32 | 33 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * @param Request $request |
| 37 | 37 | * |
| 38 | - * @return Response |
|
| 38 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 39 | 39 | */ |
| 40 | 40 | public function indexAction(Request $request) |
| 41 | 41 | { |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | * |
| 79 | 79 | * @param TaxonInterface $taxon |
| 80 | 80 | * |
| 81 | - * @return callable|null |
|
| 81 | + * @return \Closure|null |
|
| 82 | 82 | */ |
| 83 | 83 | private function getFilterTaxonOption(TaxonInterface $taxon) |
| 84 | 84 | { |