diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-02 11:50:41 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-02 19:50:54 +0200 |
commit | 19f84f7b5485e204014671d0439e8af5693acbb1 (patch) | |
tree | a386a3212106ceab6c07a98ee4a320f8b0012f37 /lib/private/Authentication/Token | |
parent | d9febae5b2cbe2147c892030ca9d1b5db7304e9f (diff) | |
download | nextcloud-server-19f84f7b5485e204014671d0439e8af5693acbb1.tar.gz nextcloud-server-19f84f7b5485e204014671d0439e8af5693acbb1.zip |
Add tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Authentication/Token')
-rw-r--r-- | lib/private/Authentication/Token/PublicKeyToken.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/Authentication/Token/PublicKeyToken.php b/lib/private/Authentication/Token/PublicKeyToken.php index 9896915ca33..b6f55146707 100644 --- a/lib/private/Authentication/Token/PublicKeyToken.php +++ b/lib/private/Authentication/Token/PublicKeyToken.php @@ -44,7 +44,6 @@ use OCP\AppFramework\Db\Entity; * @method void setPublicKey(string $key) * @method void setVersion(int $version) * @method bool getPasswordInvalid() - * @method void setPasswordInvalid(bool $invalid); */ class PublicKeyToken extends Entity implements IToken { @@ -220,4 +219,8 @@ class PublicKeyToken extends Entity implements IToken { public function getExpires() { return parent::getExpires(); } + + public function setPasswordInvalid(bool $invalid) { + parent::setPasswordInvalid($invalid); + } } |