@@ -598,7 +598,7 @@ |
||
598 | 598 | * @param object $result The query result. |
599 | 599 | * @param object $document The document object to fill, if any. |
600 | 600 | * @param array $hints Hints for document creation. |
601 | - * @return object The filled and managed document object or NULL, if the query result is empty. |
|
601 | + * @return null|\Doctrine\ODM\MongoDB\object The filled and managed document object or NULL, if the query result is empty. |
|
602 | 602 | */ |
603 | 603 | private function createDocument($result, object $document = null, array $hints = []): ?object |
604 | 604 | { |