| @@ -190,7 +190,7 @@ | ||
| 190 | 190 | /** | 
| 191 | 191 | * Returns parsed current line. | 
| 192 | 192 | * | 
| 193 | - * @return mixed | |
| 193 | + * @return string | |
| 194 | 194 | */ | 
| 195 | 195 | public function current() | 
| 196 | 196 |      { | 
| @@ -254,7 +254,7 @@ discard block | ||
| 254 | 254 | * @param array $properties | 
| 255 | 255 | * @param string $annotation | 
| 256 | 256 | * | 
| 257 | - * @return string | |
| 257 | + * @return boolean | |
| 258 | 258 | */ | 
| 259 | 259 | private function isUniqueAnnotation($properties, $annotation) | 
| 260 | 260 |      { | 
| @@ -552,7 +552,7 @@ discard block | ||
| 552 | 552 | * Returns formatted exception | 
| 553 | 553 | * | 
| 554 | 554 | * @param string $format | 
| 555 | - * @param array $args | |
| 555 | + * @param string[] $args | |
| 556 | 556 | * | 
| 557 | 557 | * @return \InvalidArgumentException | 
| 558 | 558 | */ | 
| @@ -27,7 +27,7 @@ | ||
| 27 | 27 | |
| 28 | 28 | /** | 
| 29 | 29 | * @param string $commitMode | 
| 30 | - * @param array|null $bulkParams BulkQueries or BulkResponse, depending on event | |
| 30 | + * @param callable $bulkParams BulkQueries or BulkResponse, depending on event | |
| 31 | 31 | */ | 
| 32 | 32 | public function __construct($commitMode, $bulkParams = []) | 
| 33 | 33 |      { | 
| @@ -73,7 +73,7 @@ discard block | ||
| 73 | 73 | } | 
| 74 | 74 | |
| 75 | 75 | /** | 
| 76 | - * @return array | |
| 76 | + * @return string | |
| 77 | 77 | */ | 
| 78 | 78 | public function getType() | 
| 79 | 79 |      { | 
| @@ -86,7 +86,7 @@ discard block | ||
| 86 | 86 | * @param string $id Document ID to find | 
| 87 | 87 | * @param string $routing Custom routing for the document | 
| 88 | 88 | * | 
| 89 | - * @return object | |
| 89 | + * @return null|\ReflectionClass | |
| 90 | 90 | */ | 
| 91 | 91 | public function find($id, $routing = null) | 
| 92 | 92 |      { | 
| @@ -212,7 +212,7 @@ discard block | ||
| 212 | 212 | /** | 
| 213 | 213 | * Parses scroll configuration from raw response. | 
| 214 | 214 | * | 
| 215 | - * @param $raw | |
| 215 | + * @param callable $raw | |
| 216 | 216 | * @param null $scrollDuration | 
| 217 | 217 | * | 
| 218 | 218 | * @return array | 
| @@ -379,7 +379,7 @@ discard block | ||
| 379 | 379 | * | 
| 380 | 380 | * @param string $className | 
| 381 | 381 | * | 
| 382 | - * @return array | |
| 382 | + * @return string | |
| 383 | 383 | */ | 
| 384 | 384 | private function resolveType($className) | 
| 385 | 385 |      { | 
| @@ -353,7 +353,7 @@ discard block | ||
| 353 | 353 | * | 
| 354 | 354 | * @param array $params Parameters that will be passed to the flush or refresh queries. | 
| 355 | 355 | * | 
| 356 | - * @return null|array | |
| 356 | + * @return callable|null | |
| 357 | 357 | * | 
| 358 | 358 | * @throws BulkWithErrorsException | 
| 359 | 359 | */ | 
| @@ -416,7 +416,7 @@ discard block | ||
| 416 | 416 | * | 
| 417 | 417 | * @throws \InvalidArgumentException | 
| 418 | 418 | * | 
| 419 | - * @return null|array | |
| 419 | + * @return callable|null | |
| 420 | 420 | */ | 
| 421 | 421 | public function bulk($operation, $type, array $query) | 
| 422 | 422 |      { | 
| @@ -588,7 +588,7 @@ discard block | ||
| 588 | 588 | * @param string $id Document ID to find | 
| 589 | 589 | * @param string $routing Custom routing for the document | 
| 590 | 590 | * | 
| 591 | - * @return object | |
| 591 | + * @return null|\ReflectionClass | |
| 592 | 592 | */ | 
| 593 | 593 | public function find($className, $id, $routing = null) | 
| 594 | 594 |      { | 
| @@ -618,7 +618,7 @@ discard block | ||
| 618 | 618 | * | 
| 619 | 619 | * @deprecated use strict return type functions from Repository instead. | 
| 620 | 620 | * | 
| 621 | - * @param array $types | |
| 621 | + * @param string[] $types | |
| 622 | 622 | * @param Search $search | 
| 623 | 623 | * @param string $resultsType | 
| 624 | 624 | * | 
| @@ -640,7 +640,7 @@ discard block | ||
| 640 | 640 | * | 
| 641 | 641 | * @deprecated use strict return type functions from Repository class instead. | 
| 642 | 642 | * | 
| 643 | - * @param array $raw | |
| 643 | + * @param callable $raw | |
| 644 | 644 | * @param string $resultsType | 
| 645 | 645 | * @param string $scrollDuration | 
| 646 | 646 | * | 
| @@ -707,7 +707,7 @@ discard block | ||
| 707 | 707 | * @param string $scrollDuration | 
| 708 | 708 | * @param string $resultsType | 
| 709 | 709 | * | 
| 710 | - * @return mixed | |
| 710 | + * @return callable | |
| 711 | 711 | * | 
| 712 | 712 | * @throws \Exception | 
| 713 | 713 | */ |