let init() take an INode - fixes PHP message
This commit is contained in:
parent
836b80919f
commit
b7cf4d551e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue