diff --git a/README.md b/README.md index 1be0428..4fa5d17 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,6 @@ Curl::close() Curl::complete($callback) Curl::delete($url, $query_parameters = array(), $data = array()) Curl::download($url, $mixed_filename) -Curl::downloadComplete($fh) Curl::error($callback) Curl::exec($ch = null) Curl::get($url, $data = array()) diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index d39e90c..95e873a 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -257,10 +257,10 @@ class Curl /** * Download Complete * - * @access public + * @access private * @param $fh */ - public function downloadComplete($fh) + private function downloadComplete($fh) { if (!$this->error && $this->downloadCompleteFunction) { rewind($fh);