diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2023-03-30 10:30:12 +0200 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2023-04-01 14:20:25 +0200 |
commit | da618c457a72814e65b7399b141db7e123091451 (patch) | |
tree | 6bc8c8c5a8f91752ed60d7949f2a2eae4876f844 /lib/private/LargeFileHelper.php | |
parent | 3f84d41226e75597a90b2f11813b8298c506c947 (diff) | |
download | nextcloud-server-da618c457a72814e65b7399b141db7e123091451.tar.gz nextcloud-server-da618c457a72814e65b7399b141db7e123091451.zip |
Fix quota typing for 32bits after forward port from 25
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Diffstat (limited to 'lib/private/LargeFileHelper.php')
-rwxr-xr-x | lib/private/LargeFileHelper.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/LargeFileHelper.php b/lib/private/LargeFileHelper.php index 09bb959cdcf..c8d6ba42eb5 100755 --- a/lib/private/LargeFileHelper.php +++ b/lib/private/LargeFileHelper.php @@ -95,10 +95,9 @@ class LargeFileHelper { * * @param string $filename Path to the file. * - * @return int|float Number of bytes as number (float or int) or - * null on failure. + * @return int|float Number of bytes as number (float or int) */ - public function getFileSize(string $filename): null|int|float { + public function getFileSize(string $filename): int|float { $fileSize = $this->getFileSizeViaCurl($filename); if (!is_null($fileSize)) { return $fileSize; |