@@ -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 | { |
@@ -262,7 +262,7 @@ |
||
| 262 | 262 | * @param array $properties |
| 263 | 263 | * @param string $annotation |
| 264 | 264 | * |
| 265 | - * @return string |
|
| 265 | + * @return boolean |
|
| 266 | 266 | */ |
| 267 | 267 | private function isUniqueAnnotation($properties, $annotation) |
| 268 | 268 | { |
@@ -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 | { |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * |
| 135 | 135 | * @param \ReflectionProperty $property |
| 136 | 136 | * |
| 137 | - * @return Property|object|null |
|
| 137 | + * @return \ReflectionProperty |
|
| 138 | 138 | */ |
| 139 | 139 | private function getPropertyAnnotationData(\ReflectionProperty $property) |
| 140 | 140 | { |
@@ -325,6 +325,7 @@ discard block |
||
| 325 | 325 | * |
| 326 | 326 | * @param \ReflectionClass $reflectionClass |
| 327 | 327 | * @param string $property |
| 328 | + * @param string|null $propertyType |
|
| 328 | 329 | * |
| 329 | 330 | * @return array |
| 330 | 331 | */ |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | /** |
| 89 | 89 | * Returns total time queries took. |
| 90 | 90 | * |
| 91 | - * @return string |
|
| 91 | + * @return double |
|
| 92 | 92 | */ |
| 93 | 93 | public function getTime() |
| 94 | 94 | { |
@@ -385,7 +385,7 @@ discard block |
||
| 385 | 385 | * |
| 386 | 386 | * @param array $params Parameters that will be passed to the flush or refresh queries. |
| 387 | 387 | * |
| 388 | - * @return null|array |
|
| 388 | + * @return callable|null |
|
| 389 | 389 | * |
| 390 | 390 | * @throws BulkWithErrorsException |
| 391 | 391 | */ |
@@ -448,7 +448,7 @@ discard block |
||
| 448 | 448 | * |
| 449 | 449 | * @throws \InvalidArgumentException |
| 450 | 450 | * |
| 451 | - * @return null|array |
|
| 451 | + * @return callable|null |
|
| 452 | 452 | */ |
| 453 | 453 | public function bulk($operation, $type, array $query) |
| 454 | 454 | { |
@@ -621,7 +621,7 @@ discard block |
||
| 621 | 621 | * @param string $id Document ID to find |
| 622 | 622 | * @param string $routing Custom routing for the document |
| 623 | 623 | * |
| 624 | - * @return object |
|
| 624 | + * @return null|\ONGR\ElasticsearchBundle\Annotation\ObjectType |
|
| 625 | 625 | */ |
| 626 | 626 | public function find($className, $id, $routing = null) |
| 627 | 627 | { |
@@ -652,7 +652,7 @@ discard block |
||
| 652 | 652 | * @param string $scrollId |
| 653 | 653 | * @param string $scrollDuration |
| 654 | 654 | * |
| 655 | - * @return mixed |
|
| 655 | + * @return callable |
|
| 656 | 656 | * |
| 657 | 657 | * @throws \Exception |
| 658 | 658 | */ |
@@ -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|\ONGR\ElasticsearchBundle\Annotation\ObjectType |
|
| 90 | 90 | */ |
| 91 | 91 | public function find($id, $routing = null) |
| 92 | 92 | { |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | /** |
| 207 | 207 | * Parses scroll configuration from raw response. |
| 208 | 208 | * |
| 209 | - * @param array $raw |
|
| 209 | + * @param callable $raw |
|
| 210 | 210 | * @param string $scrollDuration |
| 211 | 211 | * |
| 212 | 212 | * @return array |
@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | * |
| 385 | 385 | * @param string $className |
| 386 | 386 | * |
| 387 | - * @return array |
|
| 387 | + * @return string |
|
| 388 | 388 | */ |
| 389 | 389 | private function resolveType($className) |
| 390 | 390 | { |