Browse Source

Fix phpdoc

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v14.0.0beta1
Roeland Jago Douma 6 years ago
parent
commit
140e7b609f
No account linked to committer's email address

+ 7
- 0
lib/public/User/Backend/AbstractBackend.php View File

@@ -28,7 +28,14 @@ use OC\User\Backend;
use OCP\IUserBackend;
use OCP\UserInterface;

/**
* @since 14.0.0
*/
abstract class AbstractBackend implements IUserBackend, UserInterface {

/**
* @deprecated 14.0.0
*/
public function implementsActions($actions): bool {
$implements = 0;


+ 6
- 0
lib/public/User/Backend/ICheckPasswordBackend.php View File

@@ -24,6 +24,12 @@ declare(strict_types=1);

namespace OCP\User\Backend;

/**
* @since 14.0.0
*/
interface ICheckPasswordBackend {
/**
* @since 14.0.0
*/
public function checkPassword(string $loginName, string $password): string;
}

+ 7
- 0
lib/public/User/Backend/ICountUsersBackend.php View File

@@ -24,6 +24,13 @@ declare(strict_types=1);

namespace OCP\User\Backend;

/**
* @since 14.0.0
*/
interface ICountUsersBackend {

/**
* @since 14.0.0
*/
public function countUsers(): int;
}

+ 7
- 0
lib/public/User/Backend/ICreateUserBackend.php View File

@@ -24,6 +24,13 @@ declare(strict_types=1);

namespace OCP\User\Backend;

/**
* @since 14.0.0
*/
interface ICreateUserBackend {

/**
* @since 14.0.0
*/
public function createUser(string $uid, string $password): bool;
}

+ 7
- 0
lib/public/User/Backend/IGetDisplayNameBackend.php View File

@@ -24,6 +24,13 @@ declare(strict_types=1);

namespace OCP\User\Backend;

/**
* @since 14.0.0
*/
interface IGetDisplayNameBackend {

/**
* @since 14.0.0
*/
public function getDisplayName(string $uid): string;
}

+ 7
- 0
lib/public/User/Backend/IGetHomeBackend.php View File

@@ -24,6 +24,13 @@ declare(strict_types=1);

namespace OCP\User\Backend;

/**
* @since 14.0.0
*/
interface IGetHomeBackend {

/**
* @since 14.0.0
*/
public function getHome(string $uid): string;
}

+ 7
- 0
lib/public/User/Backend/IProvideAvatarBackend.php View File

@@ -24,6 +24,13 @@ declare(strict_types=1);

namespace OCP\User\Backend;

/**
* @since 14.0.0
*/
interface IProvideAvatarBackend {

/**
* @since 14.0.0
*/
public function canChangeAvatar(string $uid): bool;
}

+ 7
- 0
lib/public/User/Backend/ISetDisplayNameBackend.php View File

@@ -24,6 +24,13 @@ declare(strict_types=1);

namespace OCP\User\Backend;

/**
* @since 14.0.0
*/
interface ISetDisplayNameBackend {

/**
* @since 14.0.0
*/
public function setDisplayName(string $uid, string $displayName): bool;
}

+ 7
- 0
lib/public/User/Backend/ISetPasswordBackend.php View File

@@ -24,6 +24,13 @@ declare(strict_types=1);

namespace OCP\User\Backend;

/**
* @since 14.0.0
*/
interface ISetPasswordBackend {

/**
* @since 14.0.0
*/
public function setPassword(string $uid, string $password): bool;
}

Loading…
Cancel
Save