aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token/PublicKeyToken.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Authentication/Token/PublicKeyToken.php')
-rw-r--r--lib/private/Authentication/Token/PublicKeyToken.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/private/Authentication/Token/PublicKeyToken.php b/lib/private/Authentication/Token/PublicKeyToken.php
index be427ab4839..3a3b457839e 100644
--- a/lib/private/Authentication/Token/PublicKeyToken.php
+++ b/lib/private/Authentication/Token/PublicKeyToken.php
@@ -111,8 +111,6 @@ class PublicKeyToken extends Entity implements INamedToken, IWipeableToken {
/**
* Get the login name used when generating the token
- *
- * @return string
*/
public function getLoginName(): string {
return parent::getLoginName();
@@ -137,8 +135,6 @@ class PublicKeyToken extends Entity implements INamedToken, IWipeableToken {
/**
* Get the timestamp of the last password check
- *
- * @return int
*/
public function getLastCheck(): int {
return parent::getLastCheck();
@@ -202,14 +198,11 @@ class PublicKeyToken extends Entity implements INamedToken, IWipeableToken {
parent::setExpires($expires);
}
- /**
- * @return int|null
- */
- public function getExpires() {
+ public function getExpires(): ?int {
return parent::getExpires();
}
- public function setPasswordInvalid(bool $invalid) {
+ public function setPasswordInvalid(bool $invalid): void {
parent::setPasswordInvalid($invalid);
}