original_string: public function downloadFile($path)
  	{
  		// Download contents of current file
  		if (($data = $this->downloadData()) === null) {
  			return false;
  		}
  
  		// Write contents to specified path
  		if (@file_put_contents($path, $data) === false) {
  			$this->error = array();
  			$this->error['file'] = "Unable to write file '$path'";
  			return false;
  		}
  
  		return true;
  	}
code: public function downloadFile($path)
  	{
  		// Download contents of current file
  		if (($data = $this->downloadData()) === null) {
  			return false;
  		}
  
  		// Write contents to specified path
  		if (@file_put_contents($path, $data) === false) {
  			$this->error = array();
  			$this->error['file'] = "Unable to write file '$path'";
  			return false;
  		}
  
  		return true;
  	}
code_tokens: public function downloadFile ( $ path ) { // Download contents of current file if ( ( $ data = $ this -> downloadData ( ) ) === null ) { return false ; } // Write contents to specified path if ( @ file_put_contents ( $ path , $ data ) === false ) { $ this -> error = array ( ) ; $ this -> error [ 'file' ] = "Unable to write file '$path'" ; return false ; } return true ; }
docstring: Downloads the current file's contents and writes it to the given path.
  
  @param   string   $path  The file path to write to
  @return  boolean         True if path was written successfully
docstring_tokens: Downloads the current file s contents and writes it to the given path .