original_string: protected function handleResponse(ResponseInterface $response)
      {
          $status = $response->getStatusCode();
  
          $data = (string) $response->getBody();
          $jsonResponseData = json_decode($data, false);
          $body = $data && $jsonResponseData === null ? $data : $jsonResponseData;
  
          return ['status_code' => $status, 'body' => $body];
      }
code: protected function handleResponse(ResponseInterface $response)
      {
          $status = $response->getStatusCode();
  
          $data = (string) $response->getBody();
          $jsonResponseData = json_decode($data, false);
          $body = $data && $jsonResponseData === null ? $data : $jsonResponseData;
  
          return ['status_code' => $status, 'body' => $body];
      }
code_tokens: protected function handleResponse ( ResponseInterface $ response ) { $ status = $ response -> getStatusCode ( ) ; $ data = ( string ) $ response -> getBody ( ) ; $ jsonResponseData = json_decode ( $ data , false ) ; $ body = $ data && $ jsonResponseData === null ? $ data : $ jsonResponseData ; return [ 'status_code' => $ status , 'body' => $ body ] ; }
docstring: Handle HTTP response
  
  @param  ResponseInterface $response
  @return [type]
docstring_tokens: Handle HTTP response