mappingErrors key checking in db.html.twig

This error was returned without the patch:
'Key "default" does not exist as the array is empty in @Doctrine/Collector/db.html.twig at line 209'