diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-12-19 13:54:23 +0100 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2023-04-01 14:20:24 +0200 |
commit | ed863fb47c1ecdd5c47ade2a5634f14470406790 (patch) | |
tree | a8f5776c2b9bbc1a1ce48087b35a9ee70e8e961a /lib/public/Files | |
parent | c6b683342eefa7cbf41872a4873f6f5b356113fa (diff) | |
download | nextcloud-server-ed863fb47c1ecdd5c47ade2a5634f14470406790.tar.gz nextcloud-server-ed863fb47c1ecdd5c47ade2a5634f14470406790.zip |
Make it clear that file sizes may be float on 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/Files')
-rw-r--r-- | lib/public/Files/Storage.php | 4 | ||||
-rw-r--r-- | lib/public/Files/Storage/IStorage.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php index ca5276af1e8..c91d47bdcdf 100644 --- a/lib/public/Files/Storage.php +++ b/lib/public/Files/Storage.php @@ -227,7 +227,7 @@ interface Storage extends IStorage { * * @param string $path * @param mixed $data - * @return int|false + * @return int|float|false * @since 6.0.0 */ public function file_put_contents($path, $data); @@ -296,7 +296,7 @@ interface Storage extends IStorage { * see https://www.php.net/manual/en/function.disk-free-space.php * * @param string $path - * @return int|bool + * @return int|float|bool * @since 6.0.0 */ public function free_space($path); diff --git a/lib/public/Files/Storage/IStorage.php b/lib/public/Files/Storage/IStorage.php index 1084eb7c941..7b3b9eb484e 100644 --- a/lib/public/Files/Storage/IStorage.php +++ b/lib/public/Files/Storage/IStorage.php @@ -224,7 +224,7 @@ interface IStorage { * * @param string $path * @param mixed $data - * @return int|false + * @return int|float|false * @since 9.0.0 */ public function file_put_contents($path, $data); @@ -293,7 +293,7 @@ interface IStorage { * see https://www.php.net/manual/en/function.free_space.php * * @param string $path - * @return int|bool + * @return int|float|bool * @since 9.0.0 */ public function free_space($path); |