original_string: protected function httpPatch(string $path, $body, array $requestHeaders = []): ResponseInterface
      {
          $requestHeaders['Content-Type'] = 'application/json';
  
          return $response = $this->httpClient->sendRequest(
              $this->requestBuilder->create('PATCH', $path, $requestHeaders, json_encode($body))
          );
      }
code: protected function httpPatch(string $path, $body, array $requestHeaders = []): ResponseInterface
      {
          $requestHeaders['Content-Type'] = 'application/json';
  
          return $response = $this->httpClient->sendRequest(
              $this->requestBuilder->create('PATCH', $path, $requestHeaders, json_encode($body))
          );
      }
code_tokens: protected function httpPatch ( string $ path , $ body , array $ requestHeaders = [ ] ) : ResponseInterface { $ requestHeaders [ 'Content-Type' ] = 'application/json' ; return $ response = $ this -> httpClient -> sendRequest ( $ this -> requestBuilder -> create ( 'PATCH' , $ path , $ requestHeaders , json_encode ( $ body ) ) ) ; }
docstring: Send a PATCH request with json encoded data.
  
  @param string       $path           Request path
  @param array|string $body           Request body
  @param array        $requestHeaders Request headers
  
  @return ResponseInterface
docstring_tokens: Send a PATCH request with json encoded data .