summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Authentication/Token/DefaultToken.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Authentication/Token/DefaultToken.php b/lib/private/Authentication/Token/DefaultToken.php
index b32f9cc9866..ea2414e6e15 100644
--- a/lib/private/Authentication/Token/DefaultToken.php
+++ b/lib/private/Authentication/Token/DefaultToken.php
@@ -163,9 +163,9 @@ class DefaultToken extends Entity implements IToken {
public function setScope($scope) {
if (is_string($scope)) {
- $this->scope = $scope;
+ parent::setScope($scope);
} else {
- return parent::setScope(json_encode($scope));
+ parent::setScope(json_encode($scope));
}
}
}