Update DocParser.php

fixes doctrine/common#326