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 4ba417c11b
commit f444f83e2a
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -539,7 +539,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) {