@@ -74,6 +74,10 @@ |
||
| 74 | 74 | } |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | + /** |
|
| 78 | + * @param \Illuminate\Contracts\Filesystem\Filesystem|null $disk |
|
| 79 | + * @param string $path |
|
| 80 | + */ |
|
| 77 | 81 | protected static function pathMimeType($disk, $path) |
| 78 | 82 | { |
| 79 | 83 | return ($disk && method_exists($disk, 'mimeType')) ? $disk->mimeType($path) : null; |