original_string: public function updateRating(int $type, int $itemId, int $rating): UserRatingsDataNoLinks
      {
          return $this->addRating($type, $itemId, $rating);
      }
code: public function updateRating(int $type, int $itemId, int $rating): UserRatingsDataNoLinks
      {
          return $this->addRating($type, $itemId, $rating);
      }
code_tokens: public function updateRating ( int $ type , int $ itemId , int $ rating ) : UserRatingsDataNoLinks { return $ this -> addRating ( $ type , $ itemId , $ rating ) ; }
docstring: 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
docstring_tokens: Update user rating .