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
2424 protected function normalizeFilePath (string $ path ): string
2525 {
2626 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 ));
2828 }
2929
3030 return 'file:// ' .str_replace ('\\' , '/ ' , realpath ($ path ));
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ protected function generateTmpFilename(): string
3333 protected function normalizeFilePath (string $ path ): string
3434 {
3535 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 ));
3737 }
3838
3939 return str_replace ('\\' , '/ ' , realpath ($ path ));
You can’t perform that action at this time.
0 commit comments