Update doctrine.rst

Minor typos changes