diff --git a/src/Support/helpers.php b/src/Support/helpers.php index e1614831..d8550252 100644 --- a/src/Support/helpers.php +++ b/src/Support/helpers.php @@ -762,10 +762,8 @@ if (! function_exists('readExifData')) { */ function readExifData(string $file): object|null { - $disk = Storage::disk('local'); - $type = get_file_type_from_mimetype( - $disk->mimeType($file) + Storage::mimeType($file) ); if ($type !== 'jpeg') {