mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 12:14:36 +00:00
Rename variable to use isChildOfMultiCurl as method name
This commit is contained in:
+2
-2
@@ -42,7 +42,7 @@ class Curl
|
||||
|
||||
public $attempts = 0;
|
||||
public $retries = 0;
|
||||
public $isChildOfMultiCurl = false;
|
||||
public $childOfMultiCurl = false;
|
||||
public $remainingRetries = 0;
|
||||
public $retryDecider = null;
|
||||
|
||||
@@ -396,7 +396,7 @@ class Curl
|
||||
$this->setOpt(CURLOPT_NOBODY, false);
|
||||
|
||||
// Allow multicurl to attempt retry as needed.
|
||||
if ($this->isChildOfMultiCurl) {
|
||||
if ($this->childOfMultiCurl) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -812,7 +812,7 @@ class MultiCurl
|
||||
{
|
||||
// Use sequential ids to allow for ordered post processing.
|
||||
$curl->id = $this->nextCurlId++;
|
||||
$curl->isChildOfMultiCurl = true;
|
||||
$curl->childOfMultiCurl = true;
|
||||
$this->curls[$curl->id] = $curl;
|
||||
|
||||
$curl->setHeaders($this->headers);
|
||||
|
||||
Reference in New Issue
Block a user