The expression self::make($userId, \Da\...en::TYPE_CONFIRMATION); of type Da\User\Model\Token|object adds the type object to the return on line 32 which is incompatible with the return type documented by Da\User\Factory\TokenFac...::makeConfirmationToken of type Da\User\Model\Token.
Loading history...
29
30
3
$token->save(false);
31
32
3
return $token;
33
}
34
35
/**
36
* @param $userId
37
*
38
* @return Token
39
*/
40
1
public static function makeConfirmNewMailToken($userId)
The expression self::make($userId, \Da\...YPE_CONFIRM_NEW_EMAIL); of type Da\User\Model\Token|object adds the type object to the return on line 46 which is incompatible with the return type documented by Da\User\Factory\TokenFac...makeConfirmNewMailToken of type Da\User\Model\Token.
Loading history...
43
44
1
$token->save(false);
45
46
1
return $token;
47
}
48
49
/**
50
* @param $userId
51
*
52
* @throws InvalidConfigException
53
* @return Token
54
*/
55
public static function makeConfirmOldMailToken($userId)
The expression self::make($userId, \Da\...YPE_CONFIRM_OLD_EMAIL); of type Da\User\Model\Token|object adds the type object to the return on line 61 which is incompatible with the return type documented by Da\User\Factory\TokenFac...makeConfirmOldMailToken of type Da\User\Model\Token.
The expression self::make($userId, \Da\...\Token::TYPE_RECOVERY); of type Da\User\Model\Token|object adds the type object to the return on line 76 which is incompatible with the return type documented by Da\User\Factory\TokenFactory::makeRecoveryToken of type Da\User\Model\Token.