fix(Doctrine): DoctrineOrmFactory missing check