@@ -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 | { |
@@ -318,7 +318,7 @@ discard block |
||
318 | 318 | * |
319 | 319 | * @param array $params Parameters that will be passed to the flush or refresh queries. |
320 | 320 | * |
321 | - * @return null|array |
|
321 | + * @return callable|null |
|
322 | 322 | */ |
323 | 323 | public function commit(array $params = []) |
324 | 324 | { |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | * |
353 | 353 | * @throws \InvalidArgumentException |
354 | 354 | * |
355 | - * @return null|array |
|
355 | + * @return callable|null |
|
356 | 356 | */ |
357 | 357 | public function bulk($operation, $type, array $query) |
358 | 358 | { |
@@ -507,7 +507,7 @@ discard block |
||
507 | 507 | * @param string $className Document class name or Elasticsearch type name |
508 | 508 | * @param string $id Document ID to find |
509 | 509 | * |
510 | - * @return object |
|
510 | + * @return null|\ReflectionClass |
|
511 | 511 | */ |
512 | 512 | public function find($className, $id) |
513 | 513 | { |
@@ -531,7 +531,7 @@ discard block |
||
531 | 531 | /** |
532 | 532 | * Executes given search. |
533 | 533 | * |
534 | - * @param array $types |
|
534 | + * @param string[] $types |
|
535 | 535 | * @param Search $search |
536 | 536 | * @param string $resultsType |
537 | 537 | * |
@@ -551,7 +551,7 @@ discard block |
||
551 | 551 | /** |
552 | 552 | * Parses raw result. |
553 | 553 | * |
554 | - * @param array $raw |
|
554 | + * @param callable $raw |
|
555 | 555 | * @param string $resultsType |
556 | 556 | * @param string $scrollDuration |
557 | 557 | * |
@@ -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 | */ |