diff options
Diffstat (limited to 'lib/public/Files')
-rw-r--r-- | lib/public/Files/Storage.php | 5 | ||||
-rw-r--r-- | lib/public/Files/Storage/IStorage.php | 5 |
2 files changed, 2 insertions, 8 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 diff --git a/lib/public/Files/Storage/IStorage.php b/lib/public/Files/Storage/IStorage.php index eb5522909c6..284cf4e30e7 100644 --- a/lib/public/Files/Storage/IStorage.php +++ b/lib/public/Files/Storage/IStorage.php @@ -130,12 +130,9 @@ interface 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 9.0.0 */ - public function filesize($path); + public function filesize(string $path): false|int|float; /** * check if a file can be created in $path |