mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 03:02:01 -04:00
fix: Fix type for stable27
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
7e929af82b
commit
aed46dd20c
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue