original_string: public function getSurvey($surveyId, $includePages = false)
  	{
  		if ($includePages) {
  			return $this->sendRequest(
  				$this->createRequest('GET', sprintf('surveys/%d/details', $surveyId))
  			);
  		} else {
  			return $this->sendRequest(
  				$this->createRequest('GET', sprintf('surveys/%d', $surveyId))
  			);
  		}
  	}
code: public function getSurvey($surveyId, $includePages = false)
  	{
  		if ($includePages) {
  			return $this->sendRequest(
  				$this->createRequest('GET', sprintf('surveys/%d/details', $surveyId))
  			);
  		} else {
  			return $this->sendRequest(
  				$this->createRequest('GET', sprintf('surveys/%d', $surveyId))
  			);
  		}
  	}
code_tokens: public function getSurvey ( $ surveyId , $ includePages = false ) { if ( $ includePages ) { return $ this -> sendRequest ( $ this -> createRequest ( 'GET' , sprintf ( 'surveys/%d/details' , $ surveyId ) ) ) ; } else { return $ this -> sendRequest ( $ this -> createRequest ( 'GET' , sprintf ( 'surveys/%d' , $ surveyId ) ) ) ; } }
docstring: getSurvey - Get information on a survey
  
  @param int $surveyId - See survey ID to use
  @param bool $includePages - Include page details or not
  
  @return @see Client::sendRequest
docstring_tokens: getSurvey - Get information on a survey