Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 05fe56b

Browse filesBrowse files
committed
minor #37571 Update MimeTypes.php (jersoe)
This PR was submitted for the master branch but it was merged into the 4.4 branch instead. Discussion ---------- Update MimeTypes.php Typo in exception message on line 140. | Q | A | ------------- | --- | Branch? | master for features / 3.4, 4.4, 5.0 or 5.1 for bug fixes <!-- see below --> | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT Simple typo, "have you enabled" vs "have you enable". Commits ------- f6b71cf Update MimeTypes.php
2 parents 701161e + f6b71cf commit 05fe56b
Copy full SHA for 05fe56b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Mime/MimeTypes.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mime/MimeTypes.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function guessMimeType(string $path): ?string
137137
}
138138

139139
if (!$this->isGuesserSupported()) {
140-
throw new LogicException('Unable to guess the MIME type as no guessers are available (have you enable the php_fileinfo extension?).');
140+
throw new LogicException('Unable to guess the MIME type as no guessers are available (have you enabled the php_fileinfo extension?).');
141141
}
142142

143143
return null;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.