Use $this
This commit is contained in:
parent
516fd02812
commit
5cdeb8615f
1 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ class CurlResult
|
||||||
|
|
||||||
$field = strtolower(trim($field));
|
$field = strtolower(trim($field));
|
||||||
|
|
||||||
$headers = self::getHeaderArray();
|
$headers = $this->getHeaderArray();
|
||||||
|
|
||||||
if (isset($headers[$field])) {
|
if (isset($headers[$field])) {
|
||||||
return $headers[$field];
|
return $headers[$field];
|
||||||
|
@ -256,7 +256,7 @@ class CurlResult
|
||||||
{
|
{
|
||||||
$field = strtolower(trim($field));
|
$field = strtolower(trim($field));
|
||||||
|
|
||||||
$headers = self::getHeaderArray();
|
$headers = $this->getHeaderArray();
|
||||||
|
|
||||||
return array_key_exists($field, $headers);
|
return array_key_exists($field, $headers);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue