Skip to content

Commit 1c23434

Browse files
come-ncbackportbot[bot]
authored andcommitted
fix: Fix type for stable27
fix: Fix type for stable27 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> [skip ci]
1 parent 4ddfa56 commit 1c23434

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/User/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ public function isTokenPassword($password) {
558558
*
559559
* @throws ExpiredTokenException
560560
*/
561-
private function getTokenFromPassword(string $password): ?\OCP\Authentication\Token\IToken {
561+
private function getTokenFromPassword(string $password): ?IToken {
562562
try {
563563
return $this->tokenProvider->getToken($password);
564564
} catch (ExpiredTokenException $e) {

0 commit comments

Comments
 (0)