Code Duplication    Length = 8-8 lines in 2 locations

src/Traits/HasAssets.php 2 locations

@@ 247-254 (lines=8) @@
244
    /**
245
     * @return bool|mixed
246
     */
247
    protected static function getMinifiedCss()
248
    {
249
        if (!config('admin.minify_assets') || !file_exists(public_path(static::$manifest))) {
250
            return false;
251
        }
252
253
        return static::getManifestData('css');
254
    }
255
256
    /**
257
     * @return bool|mixed
@@ 259-266 (lines=8) @@
256
    /**
257
     * @return bool|mixed
258
     */
259
    protected static function getMinifiedJs()
260
    {
261
        if (!config('admin.minify_assets') || !file_exists(public_path(static::$manifest))) {
262
            return false;
263
        }
264
265
        return static::getManifestData('js');
266
    }
267
268
    /**
269
     * @return string