summaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token/IToken.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-15 10:56:40 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-15 10:56:40 +0200
commit466297829e978f03421f5e34a4b2c7213332163c (patch)
tree5bf5725cc2053d525c0adfd25827674465c35db1 /lib/private/Authentication/Token/IToken.php
parent47388e1cfe049265050614f55744adcd77ee8052 (diff)
downloadnextcloud-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.php6
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;