summaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-10-02 11:50:41 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-02 19:50:54 +0200
commit19f84f7b5485e204014671d0439e8af5693acbb1 (patch)
treea386a3212106ceab6c07a98ee4a320f8b0012f37 /lib/private/Authentication/Token
parentd9febae5b2cbe2147c892030ca9d1b5db7304e9f (diff)
downloadnextcloud-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.php5
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);
+ }
}