mirror of
https://github.com/nextcloud/server.git
synced 2026-03-02 21:41:12 -05:00
Fix return types of createUser method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
51b295fad3
commit
fa5b0f307d
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue