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:
Morris Jobke 2015-01-28 01:14:47 +01:00
commit 1efb1fee11

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\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;