fix: Fix type for stable27

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2026-04-21 16:23:41 +02:00
parent 6d3bba76c9
commit b2ba4c8d40
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -561,7 +561,7 @@ class Session implements IUserSession, Emitter {
*
* @throws ExpiredTokenException
*/
private function getTokenFromPassword(string $password): ?\OCP\Authentication\Token\IToken {
private function getTokenFromPassword(string $password): ?IToken {
try {
return $this->tokenProvider->getToken($password);
} catch (ExpiredTokenException $e) {