Code Duplication    Length = 13-13 lines in 2 locations

Model/Ui/ConfigProviderCc.php 1 location

@@ 67-79 (lines=13) @@
64
     * @param Config        $config
65
     * @param CartInterface $cart
66
     */
67
    public function __construct(
68
        ConfigBase $configBase,
69
        ConfigCc $config,
70
        CartInterface $cart,
71
        CcConfig $ccConfig,
72
        Source $assetSource
73
    ) {
74
        $this->configBase = $configBase;
75
        $this->config = $config;
76
        $this->cart = $cart;
77
        $this->ccConfig = $ccConfig;
78
        $this->assetSource = $assetSource;
79
    }
80
81
    /**
82
     * Retrieve assoc array of checkout configuration.

Model/Ui/Vault/ConfigProvider.php 1 location

@@ 58-70 (lines=13) @@
55
     *
56
     * @param Config $config
57
     */
58
    public function __construct(
59
        CartInterface $cart,
60
        ConfigCc $configCc,
61
        ConfigCcVault $configCcVault,
62
        CcConfig $ccConfig,
63
        Source $assetSource
64
    ) {
65
        $this->cart = $cart;
66
        $this->configCc = $configCc;
67
        $this->assetSource = $assetSource;
68
        $this->ccConfig = $ccConfig;
69
        $this->configCcVault = $configCcVault;
70
    }
71
72
    /**
73
     * Retrieve assoc array of checkout configuration.