summaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Share/IManager.php')
-rw-r--r--lib/public/Share/IManager.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index e8c69e06f9f..a74ab5fe796 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -22,6 +22,7 @@
namespace OCP\Share;
+use OCP\Files\Folder;
use OCP\Files\Node;
use OCP\Share\Exceptions\ShareNotFound;
@@ -91,12 +92,12 @@ interface IManager {
* Get all shares shared by (initiated) by the provided user in a folder.
*
* @param string $userId
- * @param Node|null $node
+ * @param Folder $node
* @param bool $reshares
* @return IShare[]
* @since 9.2.0
*/
- public function getSharesInFolder($userId, Node $node, $reshares = false);
+ public function getSharesInFolder($userId, Folder $node, $reshares = false);
/**
* Get shares shared by (initiated) by the provided user.