mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-31 04:34:27 +00:00
Fix #11: Use protected instead of private for _exec()
This commit is contained in:
+1
-1
@@ -145,7 +145,7 @@ class Curl {
|
||||
return $data;
|
||||
}
|
||||
|
||||
private function _exec() {
|
||||
protected function _exec() {
|
||||
$this->response = curl_exec($this->curl);
|
||||
$this->curl_error_code = curl_errno($this->curl);
|
||||
$this->curl_error_message = curl_error($this->curl);
|
||||
|
||||
Reference in New Issue
Block a user