You should type hint `DateTimeFormatter` instead, because you're calling `$filter->setFormat()` on [line 87](https://github.com/zendframework/zf2/pull/6198/files#diff-a77696d8b26fba3c0a0f45de9a042355R87).