Skip to content

Commit 36f2e59

Browse files
authored
[Mime] DataPart: remove confusing fix-me comment
1 parent 6198e1d commit 36f2e59

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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)