doctrine/phpcr-odm — pull request #325 by hacfi (2013-09-15 04:18:47+00:00)
Title: Fix ChildrenCollection takeSnapshot bug

The ``takeSnapshot`` method of the ``ChildrenCollection`` appends the keys of the collection creating a nested array. If you flush twice this will result in an ``Array to string conversion`` error in [UnitOfWork.php#L1180](https://github.com/doctrine/phpcr-odm/blob/f21d35eb7f4a169f80e12b76c708d644a93158d5/lib/Doctrine/ODM/PHPCR/UnitOfWork.php#L1180).