aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/HomeCache.php
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2023-05-15 17:05:46 +0200
committerGitHub <noreply@github.com>2023-05-15 17:05:46 +0200
commit8362eea14e3cf6700ccc50778a802a3f47a5e080 (patch)
tree422ae12eea82b1e7e40b5027f3a213bd18aafedd /lib/private/Files/Cache/HomeCache.php
parentb9026acf3ffbf8f7ea060761b09bb8ec8b10e62f (diff)
parentae525e1935826d37ffbd18f4ece594ef64e5a125 (diff)
downloadnextcloud-server-8362eea14e3cf6700ccc50778a802a3f47a5e080.tar.gz
nextcloud-server-8362eea14e3cf6700ccc50778a802a3f47a5e080.zip
Merge pull request #38196 from nextcloud/fix/fix-32bits-freespace-and-sizes
Get rid of more int casts in file size manipulations
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') {