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

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