From 39bb32af71596a56d6d65f11cdf6232b161381f2 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 21 Mar 2018 14:22:24 +0100 Subject: [PATCH] Add hint about OCP\Folder::getById Signed-off-by: Morris Jobke --- lib/public/Files/Folder.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/public/Files/Folder.php b/lib/public/Files/Folder.php index 52a4b30319..425813c7e2 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