Merge pull request #8920 from nextcloud/hint-files-api

Add hint about OCP\Folder::getById
This commit is contained in:
Morris Jobke 2018-03-21 16:53:12 +01:00 committed by GitHub
commit cd201686a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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