@@ -154,7 +154,7 @@ |
||
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | /** |
| 157 | - * @param string|int $routing |
|
| 157 | + * @param string|boolean $routing |
|
| 158 | 158 | * |
| 159 | 159 | * @return $this |
| 160 | 160 | */ |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | * Sets / overwrites a specific config value. |
| 191 | 191 | * |
| 192 | 192 | * @param string $key Key to set |
| 193 | - * @param mixed $value Value |
|
| 193 | + * @param string $value Value |
|
| 194 | 194 | * |
| 195 | 195 | * @return $this |
| 196 | 196 | */ |
@@ -200,8 +200,8 @@ discard block |
||
| 200 | 200 | } |
| 201 | 201 | |
| 202 | 202 | /** |
| 203 | - * @param array|string $keys config key or path of config keys |
|
| 204 | - * @param mixed $default default value will be returned if key was not found |
|
| 203 | + * @param string[] $keys config key or path of config keys |
|
| 204 | + * @param boolean $default default value will be returned if key was not found |
|
| 205 | 205 | * |
| 206 | 206 | * @return mixed |
| 207 | 207 | */ |
@@ -291,7 +291,7 @@ discard block |
||
| 291 | 291 | * |
| 292 | 292 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html |
| 293 | 293 | * |
| 294 | - * @param array|\Elastica\Document[] $docs Array of Elastica\Document |
|
| 294 | + * @param Document[] $docs Array of Elastica\Document |
|
| 295 | 295 | * @param array $requestParams |
| 296 | 296 | * |
| 297 | 297 | * @throws \Elastica\Exception\InvalidException If docs is empty |
@@ -538,7 +538,7 @@ discard block |
||
| 538 | 538 | * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html |
| 539 | 539 | * |
| 540 | 540 | * @param array $ids Document ids |
| 541 | - * @param string|\Elastica\Index $index Index name |
|
| 541 | + * @param Index $index Index name |
|
| 542 | 542 | * @param string|bool $routing Optional routing key for all ids |
| 543 | 543 | * |
| 544 | 544 | * @throws \Elastica\Exception\InvalidException |
@@ -344,7 +344,7 @@ discard block |
||
| 344 | 344 | /** |
| 345 | 345 | * Search in the set indices. |
| 346 | 346 | * |
| 347 | - * @param mixed $query |
|
| 347 | + * @param string $query |
|
| 348 | 348 | * @param int|array $options OPTIONAL Limit or associative array of options (option=>value) |
| 349 | 349 | * @param string $method OPTIONAL Request method (use const's) (default = Request::POST) |
| 350 | 350 | * |
@@ -380,7 +380,7 @@ discard block |
||
| 380 | 380 | } |
| 381 | 381 | |
| 382 | 382 | /** |
| 383 | - * @param mixed $query |
|
| 383 | + * @param string $query |
|
| 384 | 384 | * @param $fullResult (default = false) By default only the total hit count is returned. If set to true, the full ResultSet including aggregations is returned |
| 385 | 385 | * @param string $method OPTIONAL Request method (use const's) (default = Request::POST) |
| 386 | 386 | * |