diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-01-28 01:14:47 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-28 01:14:47 +0100 |
commit | 1efb1fee11135fa86a2f8f121b8d94d0883c540a (patch) | |
tree | ba4f4a2ac308c8931be7343d9cfa84b9d18755bf | |
parent | e0b06435288484efb7661d86fcfbccdcdd5b495e (diff) | |
parent | b7cf4d551e14e38e1a4fa67226be592c0b26240d (diff) | |
download | nextcloud-server-1efb1fee11135fa86a2f8f121b8d94d0883c540a.tar.gz nextcloud-server-1efb1fee11135fa86a2f8f121b8d94d0883c540a.zip |
Merge pull request #13700 from owncloud/dav-objecttree-required-a-collection
let init() take a ICollection or an INode - fixes PHP message
-rw-r--r-- | lib/private/connector/sabre/objecttree.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/connector/sabre/objecttree.php b/lib/private/connector/sabre/objecttree.php index d2759d7a3ba..3422ed2d575 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; |