Remove superfluous is_file() check

This commit is contained in:
Markus Staab
2018-10-18 15:49:17 +02:00
committed by GitHub
parent e79cd403fb
commit 4798f07fc8
-5
View File
@@ -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);
}