Type hint against EventDispatcherInterface

It is not a good pratice leaving comments from your IDE because you want autocompletion in library code. Should be removed.