8000 [Mime] DataPart: remove confusing fix-me comment · symfony/symfony@72493c6 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 72493c6

Browse files
authored
[Mime] DataPart: remove confusing fix-me comment
1 parent 84b03c1 commit 72493c6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/Mime/Part/DataPart.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ public function __construct($body, string $filename = null, string $contentType
4646

4747
public static function fromPath(string $path, string $name = null, string $contentType = null): self
4848
{
49-
// FIXME: if file is not readable, exception?
50-
5149
if (null === $contentType) {
5250
$ext = strtolower(substr($path, strrpos($path, '.') + 1));
5351
if (null === self::$mimeTypes) {

0 commit comments

Comments
 (0)
0