original_string: protected function preparePutRequest(RequestInterface $request, $data)
      {
          $request->setOption(CURLOPT_CUSTOMREQUEST, 'PUT');
          if ($data !== null) {
              $request->setOption(CURLOPT_POSTFIELDS, $data);
          }
      }
code: protected function preparePutRequest(RequestInterface $request, $data)
      {
          $request->setOption(CURLOPT_CUSTOMREQUEST, 'PUT');
          if ($data !== null) {
              $request->setOption(CURLOPT_POSTFIELDS, $data);
          }
      }
code_tokens: protected function preparePutRequest ( RequestInterface $ request , $ data ) { $ request -> setOption ( CURLOPT_CUSTOMREQUEST , 'PUT' ) ; if ( $ data !== null ) { $ request -> setOption ( CURLOPT_POSTFIELDS , $ data ) ; } }
docstring: Sets a request's HTTP verb to PUT.
  
  @param RequestInterface $request
docstring_tokens: Sets a request s HTTP verb to PUT .