Issue #3436879 by mondrake: follow-up Fix return typehinting for Compiler and EventSubscriber related classes