Fix phpdoc

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-03-22 10:53:29 +01:00
parent 355abbc96d
commit 140e7b609f
No known key found for this signature in database
GPG Key ID: F941078878347C0C
9 changed files with 62 additions and 0 deletions

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;

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;
}

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;
}

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;
}

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;
}

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;
}

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;
}

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;
}

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;
}