@@ -336,7 +336,7 @@ discard block |
||
| 336 | 336 | * |
| 337 | 337 | * @param array $bulkQueries |
| 338 | 338 | * |
| 339 | - * @param array $bulkResponse |
|
| 339 | + * @param callable $bulkResponse |
|
| 340 | 340 | */ |
| 341 | 341 | public function addIds(array $bulkQueries, $bulkResponse = []) |
| 342 | 342 | { |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | * |
| 369 | 369 | * @param array $params Parameters that will be passed to the flush or refresh queries. |
| 370 | 370 | * |
| 371 | - * @return null|array |
|
| 371 | + * @return callable|null |
|
| 372 | 372 | */ |
| 373 | 373 | public function commit(array $params = []) |
| 374 | 374 | { |
@@ -587,7 +587,7 @@ discard block |
||
| 587 | 587 | * @param string $className Document class name or Elasticsearch type name |
| 588 | 588 | * @param string $id Document ID to find |
| 589 | 589 | * |
| 590 | - * @return object |
|
| 590 | + * @return null|\ReflectionClass |
|
| 591 | 591 | */ |
| 592 | 592 | public function find($className, $id) |
| 593 | 593 | { |
@@ -611,7 +611,7 @@ discard block |
||
| 611 | 611 | /** |
| 612 | 612 | * Executes given search. |
| 613 | 613 | * |
| 614 | - * @param array $types |
|
| 614 | + * @param string[] $types |
|
| 615 | 615 | * @param Search $search |
| 616 | 616 | * @param string $resultsType |
| 617 | 617 | * |
@@ -631,7 +631,7 @@ discard block |
||
| 631 | 631 | /** |
| 632 | 632 | * Parses raw result. |
| 633 | 633 | * |
| 634 | - * @param array $raw |
|
| 634 | + * @param callable $raw |
|
| 635 | 635 | * @param string $resultsType |
| 636 | 636 | * @param string $scrollDuration |
| 637 | 637 | * |