aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files/node
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/node')
-rw-r--r--lib/private/files/node/node.php1
-rw-r--r--lib/private/files/node/root.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/files/node/node.php b/lib/private/files/node/node.php
index 063e2424a64..604a881c4a1 100644
--- a/lib/private/files/node/node.php
+++ b/lib/private/files/node/node.php
@@ -33,6 +33,7 @@ class Node implements \OCP\Files\Node {
* @param \OC\Files\View $view
* @param \OC\Files\Node\Root Root $root
* @param string $path
+ * @param Root $root
*/
public function __construct($root, $view, $path) {
$this->view = $view;
diff --git a/lib/private/files/node/root.php b/lib/private/files/node/root.php
index e3d58476e9c..a22a2aaf4e9 100644
--- a/lib/private/files/node/root.php
+++ b/lib/private/files/node/root.php
@@ -95,7 +95,7 @@ class Root extends Folder implements Emitter {
/**
* @param string $scope
* @param string $method
- * @param array $arguments
+ * @param Node[] $arguments
*/
public function emit($scope, $method, $arguments = array()) {
$this->emitter->emit($scope, $method, $arguments);
@@ -154,7 +154,7 @@ class Root extends Folder implements Emitter {
* @param string $path
* @throws \OCP\Files\NotFoundException
* @throws \OCP\Files\NotPermittedException
- * @return Node
+ * @return string
*/
public function get($path) {
$path = $this->normalizePath($path);