@@ -221,7 +221,7 @@ |
||
| 221 | 221 | * Checks if all required parameters are set. |
| 222 | 222 | * |
| 223 | 223 | * @param array $data |
| 224 | - * @param array $required |
|
| 224 | + * @param string[] $required |
|
| 225 | 225 | * |
| 226 | 226 | * @throws \LogicException |
| 227 | 227 | */ |
@@ -648,7 +648,7 @@ |
||
| 648 | 648 | |
| 649 | 649 | /** |
| 650 | 650 | * @param string $name |
| 651 | - * @param string|array|bool $value |
|
| 651 | + * @param string $value |
|
| 652 | 652 | * |
| 653 | 653 | * @return $this |
| 654 | 654 | */ |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | * Returns sub aggregation. |
| 109 | 109 | * @param string $name Aggregation name to return. |
| 110 | 110 | * |
| 111 | - * @return AbstractAggregation|NamedBuilderInterface|null |
|
| 111 | + * @return \ONGR\ElasticsearchDSL\BuilderInterface|null |
|
| 112 | 112 | */ |
| 113 | 113 | public function getAggregation($name) |
| 114 | 114 | { |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | 138 | * @param string $distanceType |
| 139 | - * @return GeoSort |
|
| 139 | + * @return GeoDistanceSort |
|
| 140 | 140 | */ |
| 141 | 141 | public function setDistanceType($distanceType) |
| 142 | 142 | { |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | |
| 156 | 156 | /** |
| 157 | 157 | * @param string $location |
| 158 | - * @return GeoSort |
|
| 158 | + * @return GeoDistanceSort |
|
| 159 | 159 | */ |
| 160 | 160 | public function setLocation($location) |
| 161 | 161 | { |