doctrine/mongodb-odm — pull request #792 by superdweebie (2014-01-30 10:35:27+00:00)
Title: Assignment not done by reference

From the constructor arguments, clearly this assignment is meant to be by ref.