Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of flack:
The objectmanager insertion logic was identical in the if and else clauses, so I replaced both occurences with one directly after the else block closes. It is semantically identical but a little more readable, especially since the method has more than 250 lines (and a cyclomatic complexity of 100 or so :-)) as it is.
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1026] was closed:
Comment created by @ocramius:
Issue was closed with resolution "Fixed"