original_string: public function downloadData()
  	{
  		// Download file, or handle error
  		$data = $this->wikimate->download($this->getUrl());
  		if ($data === null) {
  			$this->error = $this->wikimate->getError(); // Copy error if there was one
  		} else {
  			$this->error = null; // Reset the error status
  		}
  
  		return $data;
  	}
code: public function downloadData()
  	{
  		// Download file, or handle error
  		$data = $this->wikimate->download($this->getUrl());
  		if ($data === null) {
  			$this->error = $this->wikimate->getError(); // Copy error if there was one
  		} else {
  			$this->error = null; // Reset the error status
  		}
  
  		return $data;
  	}
code_tokens: public function downloadData ( ) { // Download file, or handle error $ data = $ this -> wikimate -> download ( $ this -> getUrl ( ) ) ; if ( $ data === null ) { $ this -> error = $ this -> wikimate -> getError ( ) ; // Copy error if there was one } else { $ this -> error = null ; // Reset the error status } return $ data ; }
docstring: Downloads and returns the current file's contents,
  or null if an error occurs.
  
  @return  mixed  Contents (string), or null if error
docstring_tokens: Downloads and returns the current file s contents or null if an error occurs .