Code Duplication    Length = 8-8 lines in 2 locations

src/Traits/HasAssets.php 2 locations

@@ 228-235 (lines=8) @@
225
    /**
226
     * @return bool|mixed
227
     */
228
    protected static function getMinifiedCss()
229
    {
230
        if (!config('admin.minify_assets') || !file_exists(public_path(static::$manifest))) {
231
            return false;
232
        }
233
234
        return static::getManifestData('css');
235
    }
236
237
    /**
238
     * @return bool|mixed
@@ 240-247 (lines=8) @@
237
    /**
238
     * @return bool|mixed
239
     */
240
    protected static function getMinifiedJs()
241
    {
242
        if (!config('admin.minify_assets') || !file_exists(public_path(static::$manifest))) {
243
            return false;
244
        }
245
246
        return static::getManifestData('js');
247
    }
248
249
    /**
250
     * @return string