Merge pull request #13700 from owncloud/dav-objecttree-required-a-collection
let init() take a ICollection or an INode - fixes PHP message
This commit is contained in:
commit
1efb1fee11
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue