Skip to content

Commit 7256dc2

Browse files
committed
Merge pull request laravel#1024 from Apathetic012/develop
add output of File::mime() example
2 parents 06ac327 + 5eef002 commit 7256dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/documentation/files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The **is** method does not simply check the file extension. The Fileinfo PHP ext
7373

7474
#### Getting the MIME type associated with an extension:
7575

76-
echo File::mime('gif');
76+
echo File::mime('gif'); // outputs 'image/gif'
7777

7878
> **Note:** This method simply returns the MIME type defined for the extension in the **application/config/mimes.php** file.
7979

0 commit comments

Comments
 (0)