summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage/Wrapper
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-11-07 13:40:30 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-02 15:02:28 +0100
commita372564850cb2f8813c4c3cca67bd1b6cfcdb882 (patch)
treefc879b783dae0d038c60111b7adbb3b0749c6d09 /lib/private/Files/Storage/Wrapper
parente4e20bf40ad8ca139655b36a6efa2b1710ae50f0 (diff)
downloadnextcloud-server-a372564850cb2f8813c4c3cca67bd1b6cfcdb882.tar.gz
nextcloud-server-a372564850cb2f8813c4c3cca67bd1b6cfcdb882.zip
Fix psalm spotted errors with new requirements
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Files/Storage/Wrapper')
-rw-r--r--lib/private/Files/Storage/Wrapper/EncodingDirectoryWrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/EncodingDirectoryWrapper.php b/lib/private/Files/Storage/Wrapper/EncodingDirectoryWrapper.php
index 935a15af4cf..3a29b164b01 100644
--- a/lib/private/Files/Storage/Wrapper/EncodingDirectoryWrapper.php
+++ b/lib/private/Files/Storage/Wrapper/EncodingDirectoryWrapper.php
@@ -31,7 +31,7 @@ use OC\Files\Filesystem;
*/
class EncodingDirectoryWrapper extends DirectoryWrapper {
/**
- * @return string
+ * @return string|false
*/
public function dir_readdir() {
$file = readdir($this->source);