@@ -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 | { |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
151 | - * @return array |
|
151 | + * @return string |
|
152 | 152 | */ |
153 | 153 | public function getType() |
154 | 154 | { |
@@ -345,6 +345,9 @@ discard block |
||
345 | 345 | return $this->getManager()->getClient()->update($params); |
346 | 346 | } |
347 | 347 | |
348 | + /** |
|
349 | + * @param string $className |
|
350 | + */ |
|
348 | 351 | private function resolveType($className):string |
349 | 352 | { |
350 | 353 | return $this->getMetadataCollector()->getDocumentType($className); |