Skip to content

Commit f020797

Browse files
authored
IBX-5705: Fixed Token handler getTokenType to return id (#267)
For more details see https://issues.ibexa.co/browse/IBX-5705 and #267 Token\Handler::getTokenType returned object instead of id
1 parent c7d22aa commit f020797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Persistence/Legacy/Token/Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function deleteExpiredTokens(?string $tokenType = null): void
137137
{
138138
try {
139139
if (null !== $tokenType) {
140-
$typeId = $this->getTokenType($tokenType);
140+
$typeId = $this->getTokenType($tokenType)->id;
141141
}
142142
} catch (NotFoundException $exception) {
143143
return;

0 commit comments

Comments
 (0)