Typehint to ObjectManager, and ObjectRepository instead. I don't this you need to typehint to ORM implementations.