aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage/Common.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-30 12:45:44 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-30 16:49:27 +0200
commite1998b6b6cd1e66e743fcebfe954345430c67cd7 (patch)
tree93db38b3774e3dc3ee56356ac738c77ad5cc799a /lib/private/Files/Storage/Common.php
parent6e8c532932a3d8775decce929df77aa5c552e74d (diff)
downloadnextcloud-server-e1998b6b6cd1e66e743fcebfe954345430c67cd7.tar.gz
nextcloud-server-e1998b6b6cd1e66e743fcebfe954345430c67cd7.zip
fix(Storage): Fix getDirectoryContent() return typefix/storage/get-directory-content-return-type
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/Files/Storage/Common.php')
-rw-r--r--lib/private/Files/Storage/Common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Common.php b/lib/private/Files/Storage/Common.php
index d78a6ca1ab3..746fe17d7c0 100644
--- a/lib/private/Files/Storage/Common.php
+++ b/lib/private/Files/Storage/Common.php
@@ -750,7 +750,7 @@ abstract class Common implements Storage, ILockingStorage, IWriteStreamStorage,
return $count;
}
- public function getDirectoryContent($directory): \Traversable|false {
+ public function getDirectoryContent($directory): \Traversable {
$dh = $this->opendir($directory);
if ($dh === false) {