Trying phpstorm to refactor and simplify the massive saveDraftVersion method.