Add type hint for BuildInterface parameter of Classmap::buildCombinedClassMap(). See https://github.com/composer/composer/pull/2563#discussion_r8774166
Add type hint for EventDispatcher->, to avoid a method_exists(). See https://github.com/composer/composer/pull/2563#discussion_r8774514