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 @@ -115,7 +115,7 @@ public static function fromFile(string $filename): self
115
115
116
116
if (!is_readable ($ filename ) || ($ str === false )) {
117
117
$ e = error_get_last ();
118
- $ error = $ e ['message ' ] ?: "Check that the file exists and can be read. " ;
118
+ $ error = $ e ['message ' ] ?? "Check that the file exists and can be read. " ;
119
119
throw new IOException (sprintf ("File '%s' was not loaded; %s " , $ filename , $ error ));
120
120
}
121
121
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public static function fromFile(string $filename): self
110
110
111
111
if (!is_readable ($ filename ) || ($ str === false )) {
112
112
$ e = error_get_last ();
113
- $ error = $ e ['message ' ] ?: "Check that the file exists and can be read. " ;
113
+ $ error = $ e ['message ' ] ?? "Check that the file exists and can be read. " ;
114
114
throw new IOException (sprintf ("File '%s' was not loaded; %s " , $ filename , $ error ));
115
115
}
116
116
You can’t perform that action at this time.
0 commit comments