Code Duplication    Length = 8-8 lines in 2 locations

src/Traits/HasAssets.php 2 locations

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