Skip to content

Commit f444f83

Browse files
committed
fix: Fix type for stable27
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 4ba417c commit f444f83

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
@@ -539,7 +539,7 @@ public function isTokenPassword($password) {
539539
*
540540
* @throws ExpiredTokenException
541541
*/
542-
private function getTokenFromPassword(string $password): ?\OCP\Authentication\Token\IToken {
542+
private function getTokenFromPassword(string $password): ?IToken {
543543
try {
544544
return $this->tokenProvider->getToken($password);
545545
} catch (ExpiredTokenException $e) {

0 commit comments

Comments
 (0)