Issue #2184231 by jibran, dawehner, Xano: Use ConfigFactoryInterface to type hint ConfigFactory.