Update DoctrineExtension.php

Fix minor typo