File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ abstract class SMime
24
24
protected function normalizeFilePath (string $ path ): string
25
25
{
26
26
if (!file_exists ($ path )) {
27
- throw new RuntimeException (sprintf ('File does not exist: %s . ' , $ path ));
27
+ throw new RuntimeException (sprintf ('File does not exist: "%s" . ' , $ path ));
28
28
}
29
29
30
30
return 'file:// ' .str_replace ('\\' , '/ ' , realpath ($ path ));
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ protected function generateTmpFilename(): string
33
33
protected function normalizeFilePath (string $ path ): string
34
34
{
35
35
if (!file_exists ($ path )) {
36
- throw new RuntimeException (sprintf ('File does not exist: %s ' , $ path ));
36
+ throw new RuntimeException (sprintf ('File does not exist: "%s" ' , $ path ));
37
37
}
38
38
39
39
return str_replace ('\\' , '/ ' , realpath ($ path ));
You can’t perform that action at this time.
0 commit comments