Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 315e347 commit 4e152edCopy full SHA for 4e152ed
src/Symfony/Component/Mime/Part/DataPart.php
@@ -61,7 +61,7 @@ public static function fromPath(string $path, string $name = null, string $conte
61
$contentType = self::$mimeTypes->getMimeTypes($ext)[0] ?? 'application/octet-stream';
62
}
63
64
- if (false === is_file($path) || false === is_readable($path)) {
+ if (!is_file($path) || !is_readable($path)) {
65
throw new InvalidArgumentException(sprintf('Path "%s" is not readable.', $path));
66
67
0 commit comments