Code Duplication    Length = 8-8 lines in 2 locations

src/Traits/HasAssets.php 2 locations

@@ 292-299 (lines=8) @@
289
    /**
290
     * @return bool|mixed
291
     */
292
    protected static function getMinifiedCss()
293
    {
294
        if (!config('admin.minify_assets') || !file_exists(public_path(static::$manifest))) {
295
            return false;
296
        }
297
298
        return static::getManifestData('css');
299
    }
300
301
    /**
302
     * @return bool|mixed
@@ 304-311 (lines=8) @@
301
    /**
302
     * @return bool|mixed
303
     */
304
    protected static function getMinifiedJs()
305
    {
306
        if (!config('admin.minify_assets') || !file_exists(public_path(static::$manifest))) {
307
            return false;
308
        }
309
310
        return static::getManifestData('js');
311
    }
312
313
    /**
314
     * @return string