Skip to content

Commit d0ba777

Browse files
authored
Merge pull request #89 from php-mod/exec
wrapper method
2 parents e9e256a + 36ab26f commit d0ba777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Curl/Curl.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public function addResponseHeaderLine($curl, $header_line)
206206
*
207207
* @return int Returns the error code for the current curl request
208208
*/
209-
protected function exec()
209+
public function exec()
210210
{
211211
$this->response_headers = array();
212212
$this->response = curl_exec($this->curl);
@@ -284,7 +284,7 @@ protected function setHttpAuth($httpauth)
284284
// public methods
285285

286286
/**
287-
* @deprecated calling exec() directly is discouraged
287+
* @deprecated use `exec()` directly.
288288
*/
289289
public function _exec()
290290
{

0 commit comments

Comments
 (0)