@@ -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); |