Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-10-25 13:20:08 +0300
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-10-25 13:20:08 +0300
commitfa5b0f307dc8fa517f2dfd35275cf8d0c5ab3ad4 (patch)
tree21da85eac648a9f6e822d38dcbbc4828c36acbe0
parent51b295fad3374dba4697939b8f7cefc85ef03372 (diff)
Fix return types of createUser method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--lib/private/User/Manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php
index 078848f9626..33744ad7ffe 100644
--- a/lib/private/User/Manager.php
+++ b/lib/private/User/Manager.php
@@ -374,7 +374,7 @@ class Manager extends PublicEmitter implements IUserManager {
/**
* @param string $uid
* @param string $password
- * @return false|IUser|null the created user or false
+ * @return false|IUser the created user or false
* @throws \InvalidArgumentException
* @throws HintException
*/
@@ -410,7 +410,7 @@ class Manager extends PublicEmitter implements IUserManager {
* @param string $uid
* @param string $password
* @param UserInterface $backend
- * @return IUser|null
+ * @return IUser
* @throws \InvalidArgumentException
*/
public function createUserFromBackend($uid, $password, UserInterface $backend) {