aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Upload
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-23 15:03:56 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-02-07 11:23:31 +0100
commitcd885b57057b506169faf8ac455f5b1fba811bbf (patch)
treeb7993a9756bed4c697b24d6070d043b3c1cffed1 /apps/dav/lib/Upload
parent5c1a0e0307408b9f9031b40beaadaa9f45732c84 (diff)
downloadnextcloud-server-cd885b57057b506169faf8ac455f5b1fba811bbf.tar.gz
nextcloud-server-cd885b57057b506169faf8ac455f5b1fba811bbf.zip
Type sizes as int|float throughout the code base
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav/lib/Upload')
-rw-r--r--apps/dav/lib/Upload/UploadFile.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dav/lib/Upload/UploadFile.php b/apps/dav/lib/Upload/UploadFile.php
index 49a2fadecf6..47d03e3e448 100644
--- a/apps/dav/lib/Upload/UploadFile.php
+++ b/apps/dav/lib/Upload/UploadFile.php
@@ -29,7 +29,6 @@ use OCA\DAV\Connector\Sabre\File;
use Sabre\DAV\IFile;
class UploadFile implements IFile {
-
/** @var File */
private $file;
@@ -53,6 +52,9 @@ class UploadFile implements IFile {
return $this->file->getETag();
}
+ /**
+ * @return int|float
+ */
public function getSize() {
return $this->file->getSize();
}