The method \Magento\Payment\Model\CcGenericConfigProvider::getCcAvailableTypes() can be simplified

See also: