fix reverse engineering undefined custom doctrine types