Code Duplication    Length = 9-9 lines in 2 locations

code/Collector/SilverStripeCollector.php 1 location

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

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