Code Duplication    Length = 7-7 lines in 2 locations

src/controllers/OrderController.php 2 locations

@@ 42-48 (lines=7) @@
39
        return $this->actionXenSsd();
40
    }
41
42
    public function actionXenSsd()
43
    {
44
        return $this->render('xen_ssd', [
45
            'packages' => ServerHelper::getAvailablePackages(Tariff::TYPE_XEN),
46
            'tariffTypes' => Yii::$app->params['vdsproduct'],
47
        ]);
48
    }
49
50
    public function actionOpenVz()
51
    {
@@ 50-56 (lines=7) @@
47
        ]);
48
    }
49
50
    public function actionOpenVz()
51
    {
52
        return $this->render('xen_ssd', [
53
            'packages' => ServerHelper::getAvailablePackages(Tariff::TYPE_OPENVZ),
54
            'tariffTypes' => Yii::$app->params['vdsproduct'],
55
        ]);
56
    }
57
58
    public function actionTariffsDetails()
59
    {