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
115115
116116        if  (!is_readable ($ filename ) || ($ str  === false )) {
117117            $ 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. " ;
119119            throw  new  IOException (sprintf ("File '%s' was not loaded;  %s " , $ filename , $ error ));
120120        }
121121
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public static function fromFile(string $filename): self
110110
111111        if  (!is_readable ($ filename ) || ($ str  === false )) {
112112            $ 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. " ;
114114            throw  new  IOException (sprintf ("File '%s' was not loaded;  %s " , $ filename , $ error ));
115115        }
116116
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments