fixes doctrine/common#326