original_string: public function update(int $tagId, string $name)
      {
          $params = [
              'tag' => [
                  'id' => $tagId,
                  'name' => $name,
              ],
          ];
  
          return $this->httpPostJson('cgi-bin/tags/update', $params);
      }
code: public function update(int $tagId, string $name)
      {
          $params = [
              'tag' => [
                  'id' => $tagId,
                  'name' => $name,
              ],
          ];
  
          return $this->httpPostJson('cgi-bin/tags/update', $params);
      }
code_tokens: public function update ( int $ tagId , string $ name ) { $ params = [ 'tag' => [ 'id' => $ tagId , 'name' => $ name , ] , ] ; return $ this -> httpPostJson ( 'cgi-bin/tags/update' , $ params ) ; }
docstring: Update a tag name.
  
  @param int    $tagId
  @param string $name
  
  @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
  
  @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
docstring_tokens: Update a tag name .