From 1531414e8d2ff589c2242f1a603661bcfe593252 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 2 Mar 2021 20:12:46 +0100 Subject: [PATCH] Fix docblock return type for IShareProvider All the implementations already returned an array of array of shares. So better to make sure the docblock also doesn't lie. Signed-off-by: Roeland Jago Douma --- lib/public/Share/IShareProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/public/Share/IShareProvider.php b/lib/public/Share/IShareProvider.php index 87e9673b961..c35fa6660f2 100644 --- a/lib/public/Share/IShareProvider.php +++ b/lib/public/Share/IShareProvider.php @@ -124,7 +124,7 @@ interface IShareProvider { * @param string $userId * @param Folder $node * @param bool $reshares Also get the shares where $user is the owner instead of just the shares where $user is the initiator - * @return \OCP\Share\IShare[] + * @return \OCP\Share\IShare[][] * @since 11.0.0 */ public function getSharesInFolder($userId, Folder $node, $reshares);