@@ -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 | */ |
@@ -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 | * |