diff --git a/packages/framework/src/Facades/Asset.php b/packages/framework/src/Facades/Asset.php index e531b84b148..c823dcea40a 100644 --- a/packages/framework/src/Facades/Asset.php +++ b/packages/framework/src/Facades/Asset.php @@ -24,16 +24,11 @@ public static function get(string $file): string public static function mediaLink(string $file): string { - return Hyde::mediaLink($file).static::getCacheBustKey($file); + return Hyde::mediaLink($file).MediaFile::getCacheBustKey($file); } public static function hasMediaFile(string $file): bool { return file_exists(MediaFile::sourcePath($file)); } - - protected static function getCacheBustKey(string $file): string - { - return MediaFile::getCacheBustKey($file); - } }