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

View file

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