diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-12-19 14:03:09 +0100 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2023-04-01 14:20:24 +0200 |
commit | 1740311283b75d7bda3c92c5ef6d05096485bb1d (patch) | |
tree | d5be4ba6efdb56aebd4108607ec9a72dc61c8d43 /lib/private/Files/Storage/Wrapper/Jail.php | |
parent | ed863fb47c1ecdd5c47ade2a5634f14470406790 (diff) | |
download | nextcloud-server-1740311283b75d7bda3c92c5ef6d05096485bb1d.tar.gz nextcloud-server-1740311283b75d7bda3c92c5ef6d05096485bb1d.zip |
Adapt types of subclasses
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Files/Storage/Wrapper/Jail.php')
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Jail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Jail.php b/lib/private/Files/Storage/Wrapper/Jail.php index 4501c96d631..e21a2cba244 100644 --- a/lib/private/Files/Storage/Wrapper/Jail.php +++ b/lib/private/Files/Storage/Wrapper/Jail.php @@ -259,7 +259,7 @@ class Jail extends Wrapper { * * @param string $path * @param mixed $data - * @return int|false + * @return int|float|false */ public function file_put_contents($path, $data) { return $this->getWrapperStorage()->file_put_contents($this->getUnjailedPath($path), $data); @@ -335,7 +335,7 @@ class Jail extends Wrapper { * see https://www.php.net/manual/en/function.free_space.php * * @param string $path - * @return int|bool + * @return int|float|bool */ public function free_space($path) { return $this->getWrapperStorage()->free_space($this->getUnjailedPath($path)); |