diff options
Diffstat (limited to 'lib/private/Authentication/Token/IToken.php')
-rw-r--r-- | lib/private/Authentication/Token/IToken.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Authentication/Token/IToken.php b/lib/private/Authentication/Token/IToken.php index 07f72d37670..eff525c8d65 100644 --- a/lib/private/Authentication/Token/IToken.php +++ b/lib/private/Authentication/Token/IToken.php @@ -57,9 +57,9 @@ interface IToken extends JsonSerializable { /** * Get the (encrypted) login password * - * @return string + * @return string|null */ - public function getPassword(): string; + public function getPassword(); /** * Get the timestamp of the last password check @@ -94,7 +94,7 @@ interface IToken extends JsonSerializable { * * @param array $scope */ - public function setScope(array $scope); + public function setScope(array $scope = null); public function getName(): string; |