doctrine/doctrine2 — pull request #569 by Ocramius (2013-02-04 19:50:17+00:00)
Title: Hotfix/pre flush event args params

As reported by a user on IRC, the `PreFlushEventArgs` object was built with incorrect parameters. this fix solves the problem by typehinting the constructor.

Tests aren't really necessary since a lot of functional tests were simply broken because of this additional typehint.