Fix `doGenerate()` signature

A new parameter has been added to this protected method.

See: https://github.com/symfony/symfony/commit/557dfaa2c1623e2160d75473a8a736a1d9522f6b