Code Duplication    Length = 9-9 lines in 2 locations

Helper/PathHelper.php 2 locations

@@ 57-65 (lines=9) @@
54
     *
55
     * @return string
56
     */
57
    public function getScriptTags(array $paths)
58
    {
59
        $ret = '';
60
        foreach ($paths as $path) {
61
            $ret .= sprintf('<script type="text/javascript" charset="utf-8" src="%s"></script>%s', $this->assetsHelper->getUrl($path), "\n");
62
        }
63
64
        return $ret;
65
    }
66
67
    /**
68
     * @param string[] $paths
@@ 72-80 (lines=9) @@
69
     *
70
     * @return string
71
     */
72
    public function getStyleTags(array $paths)
73
    {
74
        $ret = '';
75
        foreach ($paths as $path) {
76
            $ret .= sprintf('<link rel="stylesheet" href="%s" type="text/css">%s', $this->assetsHelper->getUrl($path), "\n");
77
        }
78
79
        return $ret;
80
    }
81
}
82