Code Duplication    Length = 5-5 lines in 2 locations

src/Chamilo/CoreBundle/Component/Editor/TinyMce/Toolbar/Basic.php 1 location

@@ 30-34 (lines=5) @@
27
            'file_browser_callback' => 'elFinderBrowser'
28
        );
29
30
        if (isset($this->config)) {
31
            $this->config = array_merge($config, $this->config);
32
        } else {
33
            $this->config = $config;
34
        }
35
36
        return $this->config;
37
    }

src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php 1 location

@@ 176-180 (lines=5) @@
173
174
        //$config['skins'] = 'moono';
175
176
        if (isset($this->config)) {
177
            $this->config = array_merge($config, $this->config);
178
        } else {
179
            $this->config = $config;
180
        }
181
182
        //$config['width'] = '100';
183
        //$config['height'] = '200';