Fix return type for EntityManager - getRepository()