Unfortunatly, the changes in #787 were incomplete and did not handle the instantiation of Mongo ODM drivers correctly. This leads to the error shown in doctrine/DoctrineMongoODMModule#261. The error was introduced in DoctrineModule 5.2.0. This PR fixes the mentioned error.
Unfortunatly, the changes in #787 were incomplete and did not handle the instantiation of Mongo ODM drivers correctly. This leads to the error shown in doctrine/DoctrineMongoODMModule#261. The error was introduced in DoctrineModule 5.2.0. This PR fixes the mentioned error.