summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-03-21 16:53:12 +0100
committerGitHub <noreply@github.com>2018-03-21 16:53:12 +0100
commitcd201686a7d8eed8b4815436066ba4965911c08d (patch)
tree6e6b92aef5318cc5efa3f2fa977c016b37c4f284 /lib
parent6f455d5c4153130b0a368938a408aa2369fa66c0 (diff)
parent39bb32af71596a56d6d65f11cdf6232b161381f2 (diff)
downloadnextcloud-server-cd201686a7d8eed8b4815436066ba4965911c08d.tar.gz
nextcloud-server-cd201686a7d8eed8b4815436066ba4965911c08d.zip
Merge pull request #8920 from nextcloud/hint-files-api
Add hint about OCP\Folder::getById
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Files/Folder.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/Files/Folder.php b/lib/public/Files/Folder.php
index 52a4b303196..425813c7e21 100644
--- a/lib/public/Files/Folder.php
+++ b/lib/public/Files/Folder.php
@@ -145,6 +145,9 @@ interface Folder extends Node {
/**
* get a file or folder inside the folder by it's internal id
*
+ * This method could return multiple entries. For example once the file/folder
+ * is shared or mounted (files_external) to the user multiple times.
+ *
* @param int $id
* @return \OCP\Files\Node[]
* @since 6.0.0