Strong typehinting to avoid incorrect constructor params
Fixing incorrect constructor params for PreFlushEventArgs
Fixed wrong return types in documentation.
Merge pull request #578 from BenMorel/docfix

Fix for wrong return types in documentation.
Merge pull request #569 from Ocramius/hotfix/pre-flush-event-args-params

Hotfix/pre flush event args params