add missing form doc and update doctrine getRepository parameter