let init() take an INode - fixes PHP message

This commit is contained in:
Thomas Müller 2015-01-27 09:22:52 +01:00
parent 836b80919f
commit b7cf4d551e
1 changed files with 2 additions and 2 deletions

View File

@ -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\View $view
* @param \OC\Files\Mount\Manager $mountManager * @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->rootNode = $rootNode;
$this->fileView = $view; $this->fileView = $view;
$this->mountManager = $mountManager; $this->mountManager = $mountManager;