summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-04-03 12:17:47 +0200
committerJulius Härtl <jus@bitgrid.net>2020-04-03 23:06:26 +0200
commit56aa8fd0355879fed339e499b6c679d4cffd0913 (patch)
tree43028f1a7e319f3c386240625510509e1914ebea /lib/public
parentfba7bcfcc42bb2f032f2e4c5559fc57353fd43f8 (diff)
downloadnextcloud-server-56aa8fd0355879fed339e499b6c679d4cffd0913.tar.gz
nextcloud-server-56aa8fd0355879fed339e499b6c679d4cffd0913.zip
Properly hint exceptions thrown by getUserFolder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/IRootFolder.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public/Files/IRootFolder.php b/lib/public/Files/IRootFolder.php
index 5304414ae7b..0d568f9045e 100644
--- a/lib/public/Files/IRootFolder.php
+++ b/lib/public/Files/IRootFolder.php
@@ -25,6 +25,7 @@
namespace OCP\Files;
use OC\Hooks\Emitter;
+use OC\User\NoUserException;
/**
* Interface IRootFolder
@@ -39,6 +40,9 @@ interface IRootFolder extends Folder, Emitter {
*
* @param string $userId user ID
* @return \OCP\Files\Folder
+ * @throws NoUserException
+ * @throws NotPermittedException
+ *
* @since 8.2.0
*/
public function getUserFolder($userId);