Code Duplication    Length = 12-12 lines in 2 locations

src/Hal/Application/Formater/Twig/FormatingExtension.php 2 locations

@@ 93-104 (lines=12) @@
90
     * @param ExtensionService $extensions
91
     * @return string
92
     */
93
    public function extensionsJs(ExtensionService $extensions)
94
    {
95
        $html = '';
96
        foreach($extensions->getRepository()->all() as $extension) {
97
            $helper = $extension->getReporterHtmlSummary();
98
            if(!$helper) {
99
                continue;
100
            }
101
            $html .= $helper->renderJs();
102
        }
103
        return $html;
104
    }
105
106
    /**
107
     * @param ExtensionService $extensions
@@ 110-121 (lines=12) @@
107
     * @param ExtensionService $extensions
108
     * @return string
109
     */
110
    public function extensionsContent(ExtensionService $extensions)
111
    {
112
        $html = '';
113
        foreach($extensions->getRepository()->all() as $extension) {
114
            $helper = $extension->getReporterHtmlSummary();
115
            if(!$helper) {
116
                continue;
117
            }
118
            $html .= $helper->renderHtml();
119
        }
120
        return $html;
121
    }
122
123
    /**
124
     * @inherit