original_string: public function update(int $poiId, array $baseInfo)
      {
          $params = [
              'business' => [
                  'base_info' => array_merge($baseInfo, ['poi_id' => $poiId]),
              ],
          ];
  
          return $this->httpPostJson('cgi-bin/poi/updatepoi', $params);
      }
code: public function update(int $poiId, array $baseInfo)
      {
          $params = [
              'business' => [
                  'base_info' => array_merge($baseInfo, ['poi_id' => $poiId]),
              ],
          ];
  
          return $this->httpPostJson('cgi-bin/poi/updatepoi', $params);
      }
code_tokens: public function update ( int $ poiId , array $ baseInfo ) { $ params = [ 'business' => [ 'base_info' => array_merge ( $ baseInfo , [ 'poi_id' => $ poiId ] ) , ] , ] ; return $ this -> httpPostJson ( 'cgi-bin/poi/updatepoi' , $ params ) ; }
docstring: Update a POI.
  
  @param int   $poiId
  @param array $baseInfo
  
  @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
docstring_tokens: Update a POI .