Update src/Model/Storage/Filesystem.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp 2021-08-15 13:55:09 +02:00 committed by Philipp
parent f4941b5b49
commit 1df6225868
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD

View File

@ -127,7 +127,6 @@ class Filesystem implements IWritableStorage
$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) {
throw new StorageException(sprintf('Filesystem storage failed to get data to "%s". Check your write permissions', $file));
}