summaryrefslogtreecommitdiffstats
path: root/lib/private/files/node
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-02-06 16:30:58 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-02-06 17:02:21 +0100
commit2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356 (patch)
tree66d682a22c3d12d1838822fc52cdd48fa765f5df /lib/private/files/node
parent0d94da7e9ef9550c8ae0244b203ca84e5ee007b0 (diff)
downloadnextcloud-server-2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356.tar.gz
nextcloud-server-2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356.zip
polish documentation based on scrutinizer patches
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);