public function updateRating(int $type, int $itemId, int $rating): UserRatingsDataNoLinks
    {
        return $this->addRating($type, $itemId, $rating);
    }
public function updateRating(int $type, int $itemId, int $rating): UserRatingsDataNoLinks
    {
        return $this->addRating($type, $itemId, $rating);
    }
public function updateRating ( int $ type , int $ itemId , int $ rating ) : UserRatingsDataNoLinks { return $ this -> addRating ( $ type , $ itemId , $ rating ) ; }
Update user rating.

@param int $type Use class constants UsersExtension::RATING_TYPE_*
@param int $itemId
@param int $rating Value between 1 and 10
@return UserRatingsDataNoLinks
@throws RequestFailedException
@throws UnauthorizedException
@throws InvalidArgumentException
@throws InvalidJsonInResponseException
Update user rating .