aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Upload/PartFile.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Upload/PartFile.php')
-rw-r--r--apps/dav/lib/Upload/PartFile.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/dav/lib/Upload/PartFile.php b/apps/dav/lib/Upload/PartFile.php
index a711fe083b9..11900997a90 100644
--- a/apps/dav/lib/Upload/PartFile.php
+++ b/apps/dav/lib/Upload/PartFile.php
@@ -16,14 +16,10 @@ use Sabre\DAV\IFile;
* but handled directly by external storage services like S3 with Multipart Upload
*/
class PartFile implements IFile {
- /** @var Directory */
- private $root;
- /** @var array */
- private $partInfo;
-
- public function __construct(Directory $root, array $partInfo) {
- $this->root = $root;
- $this->partInfo = $partInfo;
+ public function __construct(
+ private Directory $root,
+ private array $partInfo,
+ ) {
}
/**