summaryrefslogtreecommitdiffstats
path: root/apps/oauth2/lib/Migration/SetTokenExpiration.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/oauth2/lib/Migration/SetTokenExpiration.php')
-rw-r--r--apps/oauth2/lib/Migration/SetTokenExpiration.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/oauth2/lib/Migration/SetTokenExpiration.php b/apps/oauth2/lib/Migration/SetTokenExpiration.php
index 6332ae85ca1..b9538ee4ab5 100644
--- a/apps/oauth2/lib/Migration/SetTokenExpiration.php
+++ b/apps/oauth2/lib/Migration/SetTokenExpiration.php
@@ -64,7 +64,7 @@ class SetTokenExpiration implements IRepairStep {
$cursor = $qb->execute();
- while($row = $cursor->fetch()) {
+ while ($row = $cursor->fetch()) {
$token = AccessToken::fromRow($row);
try {
$appToken = $this->tokenProvider->getTokenById($token->getTokenId());
@@ -76,5 +76,4 @@ class SetTokenExpiration implements IRepairStep {
}
$cursor->closeCursor();
}
-
}