The typehint should use the EventDispatcherInterface rather than the implementation