From ae525e1935826d37ffbd18f4ece594ef64e5a125 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Mon, 15 May 2023 12:24:42 +0200 Subject: Fix return types in phpdoc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/Files/Cache/Wrapper/CacheJail.php | 2 +- lib/private/Files/Cache/Wrapper/CacheWrapper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private/Files/Cache/Wrapper') diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php index a5075ceef86..c4446473833 100644 --- a/lib/private/Files/Cache/Wrapper/CacheJail.php +++ b/lib/private/Files/Cache/Wrapper/CacheJail.php @@ -240,7 +240,7 @@ class CacheJail extends CacheWrapper { * * @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 ($this->getCache() instanceof Cache) { diff --git a/lib/private/Files/Cache/Wrapper/CacheWrapper.php b/lib/private/Files/Cache/Wrapper/CacheWrapper.php index c1043fbc6fb..6479ea793b0 100644 --- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php +++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php @@ -250,7 +250,7 @@ class CacheWrapper 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 ($this->getCache() instanceof Cache) { -- cgit v1.2.3