From 046357ec7559363664b624a29c96390efb750565 Mon Sep 17 00:00:00 2001
From: Carl Schwan <carl@carlschwan.eu>
Date: Thu, 2 Jun 2022 10:23:39 +0200
Subject: Fix type error in Sabre/Connector/Directory

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
---
 apps/dav/lib/Connector/Sabre/Directory.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'apps/dav/lib')

diff --git a/apps/dav/lib/Connector/Sabre/Directory.php b/apps/dav/lib/Connector/Sabre/Directory.php
index 5280511d5be..b575a051b2a 100644
--- a/apps/dav/lib/Connector/Sabre/Directory.php
+++ b/apps/dav/lib/Connector/Sabre/Directory.php
@@ -66,7 +66,7 @@ class Directory extends \OCA\DAV\Connector\Sabre\Node implements \Sabre\DAV\ICol
 
 	/** Cached quota info */
 	private ?array $quotaInfo = null;
-	private ?ObjectTree $tree = null;
+	private ?CachingTree $tree = null;
 
 	/** @var array<string, array<int, FileMetadata>> */
 	private array $metadata = [];
@@ -74,7 +74,7 @@ class Directory extends \OCA\DAV\Connector\Sabre\Node implements \Sabre\DAV\ICol
 	/**
 	 * Sets up the node, expects a full path name
 	 */
-	public function __construct(View $view, FileInfo $info, ?ObjectTree $tree = null, IShareManager $shareManager = null) {
+	public function __construct(View $view, FileInfo $info, ?CachingTree $tree = null, IShareManager $shareManager = null) {
 		parent::__construct($view, $info, $shareManager);
 		$this->tree = $tree;
 	}
-- 
cgit v1.2.3