fixed typo in doctrine trait