Code Duplication    Length = 13-13 lines in 2 locations

Gateway/Request/DetailTotalsDataRequest.php 1 location

@@ 97-109 (lines=13) @@
94
     * @param ConfigCc            $ConfigCc
95
     * @param CheckoutHelper      $checkoutHelper
96
     */
97
    public function __construct(
98
        SubjectReader $subjectReader,
99
        OrderAdapterFactory $orderAdapterFactory,
100
        Config $config,
101
        ConfigCc $configCc,
102
        PriceHelper $checkoutHelper
103
    ) {
104
        $this->subjectReader = $subjectReader;
105
        $this->orderAdapterFactory = $orderAdapterFactory;
106
        $this->config = $config;
107
        $this->configCc = $configCc;
108
        $this->priceHelper = $checkoutHelper;
109
    }
110
111
    /**
112
     * {@inheritdoc}

Gateway/Request/PaymentDataRequest.php 1 location

@@ 189-201 (lines=13) @@
186
     * @param OrderAdapterFactory $orderAdapterFactory
187
     * @param Config              $config
188
     */
189
    public function __construct(
190
        SubjectReader $subjectReader,
191
        OrderAdapterFactory $orderAdapterFactory,
192
        Config $config,
193
        ConfigCc $configCc,
194
        ConfigBoleto $configBoleto
195
    ) {
196
        $this->subjectReader = $subjectReader;
197
        $this->orderAdapterFactory = $orderAdapterFactory;
198
        $this->config = $config;
199
        $this->configCc = $configCc;
200
        $this->configBoleto = $configBoleto;
201
    }
202
203
    /**
204
     * {@inheritdoc}