debesha / DoctrineProfileExtraBundle

Bundle to get information about doctrine hydration performance
MIT License
123 stars 16 forks source link

fix: deprecate warning create with EntityManager #25

Closed shakaran closed 9 months ago

shakaran commented 9 months ago

Solves warning:

Method "Doctrine\ORM\EntityManager::create()" might add "EntityManager" as a native return type declaration in the future. Do the same in child class "Debesha\DoctrineProfileExtraBundle\ORM\LoggingEntityManager" now to avoid errors or add an explicit @return annotation to suppress this message.