diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-20 18:02:45 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-02-07 11:23:28 +0100 |
commit | ff776a90b133fa113c29511a5a7983a7a1a8b73c (patch) | |
tree | 5a0493e0939477a082ae2d1811f94788efcd9a33 /lib/public/Files/Storage.php | |
parent | 2d8e696c24fef754662ed20f17b5b52091491ac5 (diff) | |
download | nextcloud-server-ff776a90b133fa113c29511a5a7983a7a1a8b73c.tar.gz nextcloud-server-ff776a90b133fa113c29511a5a7983a7a1a8b73c.zip |
Strong type filesize related methods to ease 32bits problem findings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/Files/Storage.php')
-rw-r--r-- | lib/public/Files/Storage.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php index a0acb4508d2..0d60746a55e 100644 --- a/lib/public/Files/Storage.php +++ b/lib/public/Files/Storage.php @@ -133,12 +133,9 @@ interface Storage extends IStorage { /** * see https://www.php.net/manual/en/function.filesize.php * The result for filesize when called on a folder is required to be 0 - * - * @param string $path - * @return int|bool * @since 6.0.0 */ - public function filesize($path); + public function filesize(string $path): false|int|float; /** * check if a file can be created in $path |