From 2e1b534957460ac39bfe1f5f14148164df148e5a Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Fri, 6 Sep 2013 20:55:47 +0200
Subject: [PATCH] update phpdoc for public fileapi

---
 lib/public/files/node/folder.php | 16 ++++++++--------
 lib/public/files/node/node.php   |  4 ++--
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/lib/public/files/node/folder.php b/lib/public/files/node/folder.php
index 7b3ae80f0d..af53bc9e58 100644
--- a/lib/public/files/node/folder.php
+++ b/lib/public/files/node/folder.php
@@ -31,7 +31,7 @@ interface Folder extends Node {
 	/**
 	 * check if a node is a (grand-)child of the folder
 	 *
-	 * @param \OC\Files\Node\Node $node
+	 * @param \OCP\Files\Node\Node $node
 	 * @return bool
 	 */
 	public function isSubNode($node);
@@ -40,7 +40,7 @@ interface Folder extends Node {
 	 * get the content of this directory
 	 *
 	 * @throws \OC\Files\NotFoundException
-	 * @return Node[]
+	 * @return \OCP\Files\Node\Node[]
 	 */
 	public function getDirectoryListing();
 
@@ -48,7 +48,7 @@ interface Folder extends Node {
 	 * Get the node at $path
 	 *
 	 * @param string $path
-	 * @return \OC\Files\Node\Node
+	 * @return \OCP\Files\Node\Node
 	 * @throws \OC\Files\NotFoundException
 	 */
 	public function get($path);
@@ -61,14 +61,14 @@ interface Folder extends Node {
 
 	/**
 	 * @param string $path
-	 * @return Folder
+	 * @return \OCP\Files\Node\Folder
 	 * @throws NotPermittedException
 	 */
 	public function newFolder($path);
 
 	/**
 	 * @param string $path
-	 * @return File
+	 * @return \OCP\Files\Node\File
 	 * @throws NotPermittedException
 	 */
 	public function newFile($path);
@@ -77,7 +77,7 @@ interface Folder extends Node {
 	 * search for files with the name matching $query
 	 *
 	 * @param string $query
-	 * @return Node[]
+	 * @return \OCP\Files\Node\Node[]
 	 */
 	public function search($query);
 
@@ -85,13 +85,13 @@ interface Folder extends Node {
 	 * search for files by mimetype
 	 *
 	 * @param string $mimetype
-	 * @return Node[]
+	 * @return \OCP\Files\Node\Node[]
 	 */
 	public function searchByMime($mimetype);
 
 	/**
 	 * @param $id
-	 * @return Node[]
+	 * @return \OCP\Files\Node\Node[]
 	 */
 	public function getById($id);
 
diff --git a/lib/public/files/node/node.php b/lib/public/files/node/node.php
index 085e880e37..b85f37e69a 100644
--- a/lib/public/files/node/node.php
+++ b/lib/public/files/node/node.php
@@ -12,7 +12,7 @@ interface Node {
 	/**
 	 * @param string $targetPath
 	 * @throws \OC\Files\NotPermittedException
-	 * @return \OC\Files\Node\Node
+	 * @return \OCP\Files\Node\Node
 	 */
 	public function move($targetPath);
 
@@ -20,7 +20,7 @@ interface Node {
 
 	/**
 	 * @param string $targetPath
-	 * @return \OC\Files\Node\Node
+	 * @return \OCP\Files\Node\Node
 	 */
 	public function copy($targetPath);
 
-- 
GitLab