summaryrefslogtreecommitdiffstats
path: root/lib/public/IUserManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/IUserManager.php')
-rw-r--r--lib/public/IUserManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php
index 2287a24e9ec..1ec392dfd82 100644
--- a/lib/public/IUserManager.php
+++ b/lib/public/IUserManager.php
@@ -123,7 +123,7 @@ interface IUserManager {
/**
* @param string $uid
* @param string $password
- * @throws \Exception
+ * @throws \InvalidArgumentException
* @return bool|\OCP\IUser the created user of false
* @since 8.0.0
*/
@@ -134,6 +134,7 @@ interface IUserManager {
* @param string $password
* @param UserInterface $backend
* @return IUser|null
+ * @throws \InvalidArgumentException
* @since 12.0.0
*/
public function createUserFromBackend($uid, $password, UserInterface $backend);