Code Duplication    Length = 7-7 lines in 2 locations

src/controllers/CartController.php 2 locations

@@ 88-94 (lines=7) @@
85
        return $this->negotiator;
86
    }
87
88
    public function actionFull(string $currency = null)
89
    {
90
        $negotiator = $this->getNegotiator();
91
        $currency = $currency ?? $this->module->getCart()->getCurrency();
92
93
        return $this->renderDeposit($negotiator->getFullAmount($currency), $currency);
94
    }
95
96
    public function actionPartial(string $currency = null)
97
    {
@@ 96-102 (lines=7) @@
93
        return $this->renderDeposit($negotiator->getFullAmount($currency), $currency);
94
    }
95
96
    public function actionPartial(string $currency = null)
97
    {
98
        $negotiator = $this->getNegotiator();
99
        $currency = $currency ?? $this->module->getCart()->getCurrency();
100
101
        return $this->renderDeposit($negotiator->getPartialAmount($currency), $currency);
102
    }
103
104
    public function actionFinish(string $exchangeFromCurrency = null)
105
    {