debesha / DoctrineProfileExtraBundle

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

fix: deprecation warning newHydrator #24

Closed shakaran closed 9 months ago

shakaran commented 9 months ago

Solves warning:

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