Merge pull request #594 from staabm/patch-2

Remove superfluous is_file() check
This commit is contained in:
Denis Sokolov
2018-10-20 18:24:34 +03:00
committed by GitHub
-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);
}