Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 05fe56b

Browse 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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mime/MimeTypes.php

Lines 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)