Code Duplication    Length = 9-9 lines in 2 locations

code/Collector/DatabaseCollector.php 1 location

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

code/Collector/SilverStripeCollector.php 1 location

@@ 272-280 (lines=9) @@
269
    /**
270
     * @return array
271
     */
272
    public function getAssets()
273
    {
274
        return array(
275
            'base_path' => '/' . DEBUGBAR_DIR . '/javascript',
276
            'base_url' => DEBUGBAR_DIR . '/javascript',
277
            'css' => [],
278
            'js' => 'widgets.js',
279
        );
280
    }
281
282
    /**
283
     * Returns a list of partial cache hits and misses as well as the total items contained in the array