@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | * |
353 | 353 | * @param array $params Parameters that will be passed to the flush or refresh queries. |
354 | 354 | * |
355 | - * @return null|array |
|
355 | + * @return callable|null |
|
356 | 356 | * |
357 | 357 | * @throws BulkWithErrorsException |
358 | 358 | */ |
@@ -415,7 +415,7 @@ discard block |
||
415 | 415 | * |
416 | 416 | * @throws \InvalidArgumentException |
417 | 417 | * |
418 | - * @return null|array |
|
418 | + * @return callable|null |
|
419 | 419 | */ |
420 | 420 | public function bulk($operation, $type, array $query) |
421 | 421 | { |
@@ -586,7 +586,7 @@ discard block |
||
586 | 586 | * @param string $id Document ID to find |
587 | 587 | * @param string $routing Custom routing for the document |
588 | 588 | * |
589 | - * @return object |
|
589 | + * @return null|\ReflectionClass |
|
590 | 590 | */ |
591 | 591 | public function find($className, $id, $routing = null) |
592 | 592 | { |
@@ -617,7 +617,7 @@ discard block |
||
617 | 617 | * @param string $scrollId |
618 | 618 | * @param string $scrollDuration |
619 | 619 | * |
620 | - * @return mixed |
|
620 | + * @return callable |
|
621 | 621 | * |
622 | 622 | * @throws \Exception |
623 | 623 | */ |