This is a legacy typehint. It should be EventDispatcher or probably ContainerAwareEventDispatcher