There was an error while loading. Please reload this page.
1 parent cb00d72 commit e65c7f8Copy full SHA for e65c7f8
Part/DataPart.php
@@ -59,7 +59,7 @@ public static function fromPath(string $path, string $name = null, string $conte
59
if (false === is_readable($path)) {
60
throw new InvalidArgumentException(sprintf('Path "%s" is not readable.', $path));
61
}
62
-
+
63
if (false === $handle = @fopen($path, 'r', false)) {
64
throw new InvalidArgumentException(sprintf('Unable to open path "%s".', $path));
65
0 commit comments