[Mime] DataPart: remove confusing fix-me comment

This commit is contained in:
David Maicher 2021-04-27 16:58:50 +02:00 committed by GitHub
parent 84b03c135d
commit 72493c6acf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,8 +46,6 @@ class DataPart extends TextPart
public static function fromPath(string $path, string $name = null, string $contentType = null): self
{
// FIXME: if file is not readable, exception?
if (null === $contentType) {
$ext = strtolower(substr($path, strrpos($path, '.') + 1));
if (null === self::$mimeTypes) {