From 0bd90cbb85c04e92909bba7f17d6eccb3c20ce1f Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 27 Jul 2024 11:31:57 +0200 Subject: [PATCH] Inline simplified helper method --- packages/framework/src/Facades/Asset.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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); - } }