Update src/Model/Storage/Filesystem.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
f4941b5b49
commit
1df6225868
|
@ -127,7 +127,6 @@ class Filesystem implements IWritableStorage
|
||||||
|
|
||||||
$result = file_get_contents($file);
|
$result = file_get_contents($file);
|
||||||
|
|
||||||
// just in case the result is REALLY false, not zero or empty or anything else, throw the exception
|
|
||||||
if ($result === false) {
|
if ($result === false) {
|
||||||
throw new StorageException(sprintf('Filesystem storage failed to get data to "%s". Check your write permissions', $file));
|
throw new StorageException(sprintf('Filesystem storage failed to get data to "%s". Check your write permissions', $file));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue