We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fce46c commit 1d49eb4Copy full SHA for 1d49eb4
src/Manager/Doctrine/AccessTokenManager.php
@@ -59,13 +59,13 @@ public function clearExpired(): int
59
->setParameter('expiry', new \DateTimeImmutable(), 'datetime_immutable')
60
->getQuery()
61
->getScalarResult();
62
- /** @var string[] */
63
- $ids = array_column($results, 'identifier');
64
-
65
if (0 === \count($results)) {
66
return 0;
67
}
68
+ /** @var string[] */
+ $ids = array_column($results, 'identifier');
+
69
// unlink access tokens from refresh tokens
70
$this->entityManager->createQueryBuilder()
71
->update(RefreshToken::class, 'rt')
0 commit comments