original_string: public function findDocumentById($id)
      {
          $response = $this->request('GET', '/' . $id);
          if ($response->getStatusCode() !== 200) {
              return null;
          }
  
          return $this->documentFactory->createFromResponse($this, $id, $response);
      }
code: public function findDocumentById($id)
      {
          $response = $this->request('GET', '/' . $id);
          if ($response->getStatusCode() !== 200) {
              return null;
          }
  
          return $this->documentFactory->createFromResponse($this, $id, $response);
      }
code_tokens: public function findDocumentById ( $ id ) { $ response = $ this -> request ( 'GET' , '/' . $ id ) ; if ( $ response -> getStatusCode ( ) !== 200 ) { return null ; } return $ this -> documentFactory -> createFromResponse ( $ this , $ id , $ response ) ; }
docstring: Returns a document
  
  @param string $id
  @return Document
docstring_tokens: Returns a document