Issues with the compatibility of getRepository() function in MongoDB DocumentManager and Persistence ManagerRegistry
ThePaglia opened this issue · 0 comments
ThePaglia commented
Q | A |
---|---|
Version | 2.7.0 |
Support Question
I am getting this error:
Compile Error: Declaration of Doctrine\ODM\MongoDB\DocumentManager::getRepository($className) must be compatible with Doctrine\Persistence\ManagerRegistry::getRepository(string $persistentObject, ?string $persistentManagerName = null)
Has anyone ever seen this error?