mirror of
https://github.com/filp/whoops.git
synced 2026-09-10 17:56:21 +00:00
Remove superfluous is_file() check
This commit is contained in:
@@ -119,11 +119,6 @@ class Frame implements Serializable
|
||||
return null;
|
||||
}
|
||||
|
||||
// Return null if the file doesn't actually exist.
|
||||
if (!is_file($filePath)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$this->fileContentsCache = file_get_contents($filePath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user