diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-15 10:56:40 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-15 10:56:40 +0200 |
commit | 466297829e978f03421f5e34a4b2c7213332163c (patch) | |
tree | 5bf5725cc2053d525c0adfd25827674465c35db1 /lib/private/Authentication/Token/IToken.php | |
parent | 47388e1cfe049265050614f55744adcd77ee8052 (diff) | |
download | nextcloud-server-466297829e978f03421f5e34a4b2c7213332163c.tar.gz nextcloud-server-466297829e978f03421f5e34a4b2c7213332163c.zip |
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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; |