Code Duplication    Length = 7-7 lines in 2 locations

app/modules/Sitemap/Controller/IndexController.php 1 location

@@ 90-96 (lines=7) @@
87
        return $this->response->send();
88
    }
89
90
    public function langUrlCustom($params, $lang)
91
    {
92
        $routeName = $params['for'];
93
        $routeName = DefaultRouter::ML_PREFIX . $routeName . '_' . $lang;
94
        $params['for'] = $routeName;
95
        return $this->url->get($params);
96
    }
97
98
    private function getRawXml()
99
    {

app/modules/Application/Mvc/Helper.php 1 location

@@ 72-78 (lines=7) @@
69
        }
70
    }
71
72
    public function langUrl($params)
73
    {
74
        $routeName = $params['for'];
75
        $routeName = DefaultRouter::ML_PREFIX . $routeName . '_' . LANG;
76
        $params['for'] = $routeName;
77
        return $this->url->get($params);
78
    }
79
80
    public function languages()
81
    {