@@ -529,7 +529,7 @@ discard block |
||
| 529 | 529 | * @param string $className Document class name or Elasticsearch type name |
| 530 | 530 | * @param string $id Document ID to find |
| 531 | 531 | * |
| 532 | - * @return object |
|
| 532 | + * @return null|\ReflectionClass |
|
| 533 | 533 | */ |
| 534 | 534 | public function find($className, $id) |
| 535 | 535 | { |
@@ -553,7 +553,7 @@ discard block |
||
| 553 | 553 | /** |
| 554 | 554 | * Executes given search. |
| 555 | 555 | * |
| 556 | - * @param array $types |
|
| 556 | + * @param string[] $types |
|
| 557 | 557 | * @param Search $search |
| 558 | 558 | * @param string $resultsType |
| 559 | 559 | * |
@@ -573,7 +573,7 @@ discard block |
||
| 573 | 573 | /** |
| 574 | 574 | * Parses raw result. |
| 575 | 575 | * |
| 576 | - * @param array $raw |
|
| 576 | + * @param callable $raw |
|
| 577 | 577 | * @param string $resultsType |
| 578 | 578 | * @param string $scrollDuration |
| 579 | 579 | * |