aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/HomeCache.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-05-15 12:24:42 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-05-15 12:24:42 +0200
commitae525e1935826d37ffbd18f4ece594ef64e5a125 (patch)
treeff22d10f02a07f535d0e4354d21ec666934eefb2 /lib/private/Files/Cache/HomeCache.php
parenta90581b405d1aff8bbe3abbfeb9970798a9cce6e (diff)
downloadnextcloud-server-ae525e1935826d37ffbd18f4ece594ef64e5a125.tar.gz
nextcloud-server-ae525e1935826d37ffbd18f4ece594ef64e5a125.zip
Fix return types in phpdoc
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Files/Cache/HomeCache.php')
-rw-r--r--lib/private/Files/Cache/HomeCache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/HomeCache.php b/lib/private/Files/Cache/HomeCache.php
index 9dbbb46c57b..83e5cb89b8a 100644
--- a/lib/private/Files/Cache/HomeCache.php
+++ b/lib/private/Files/Cache/HomeCache.php
@@ -36,7 +36,7 @@ class HomeCache extends Cache {
*
* @param string $path
* @param array|null|ICacheEntry $entry (optional) meta data of the folder
- * @return int
+ * @return int|float
*/
public function calculateFolderSize($path, $entry = null) {
if ($path !== '/' and $path !== '' and $path !== 'files' and $path !== 'files_trashbin' and $path !== 'files_versions') {