Issue #2253977 by martin107, Mixologic: Use ConfigFactoryInterface to type hint ConfigFactory, Part II.