diff --git a/lib/private/connector/sabre/objecttree.php b/lib/private/connector/sabre/objecttree.php
index d2759d7a3bafc56b430465346a7325e7ab094f76..3422ed2d5750074b2a542abda303371f721637b2 100644
--- a/lib/private/connector/sabre/objecttree.php
+++ b/lib/private/connector/sabre/objecttree.php
@@ -35,11 +35,11 @@ class ObjectTree extends \Sabre\DAV\ObjectTree {
 	}
 
 	/**
-	 * @param \Sabre\DAV\ICollection $rootNode
+	 * @param \Sabre\DAV\INode $rootNode
 	 * @param \OC\Files\View $view
 	 * @param \OC\Files\Mount\Manager $mountManager
 	 */
-	public function init(\Sabre\DAV\ICollection $rootNode, \OC\Files\View $view, \OC\Files\Mount\Manager $mountManager) {
+	public function init(\Sabre\DAV\INode $rootNode, \OC\Files\View $view, \OC\Files\Mount\Manager $mountManager) {
 		$this->rootNode = $rootNode;
 		$this->fileView = $view;
 		$this->mountManager = $mountManager;