Code Duplication    Length = 9-9 lines in 2 locations

code/Collector/DatabaseCollector.php 1 location

@@ 172-180 (lines=9) @@
169
    /**
170
     * @return array
171
     */
172
    public function getAssets()
173
    {
174
        return array(
175
            'base_path' => '/' . DEBUGBAR_DIR . '/javascript',
176
            'base_url' => DEBUGBAR_DIR.'/javascript',
177
            'css' => 'sqlqueries/widget.css',
178
            'js' => 'sqlqueries/widget.js'
179
        );
180
    }
181
}
182

code/Collector/SilverStripeCollector.php 1 location

@@ 267-275 (lines=9) @@
264
    /**
265
     * @return array
266
     */
267
    public function getAssets()
268
    {
269
        return array(
270
            'base_path' => '/' . DEBUGBAR_DIR . '/javascript',
271
            'base_url' => DEBUGBAR_DIR . '/javascript',
272
            'css' => [],
273
            'js' => 'widgets.js',
274
        );
275
    }
276
}
277