Use $this

This commit is contained in:
Michael 2019-10-02 03:31:58 +00:00
parent 516fd02812
commit 5cdeb8615f

View file

@ -238,7 +238,7 @@ class CurlResult
$field = strtolower(trim($field));
$headers = self::getHeaderArray();
$headers = $this->getHeaderArray();
if (isset($headers[$field])) {
return $headers[$field];
@ -256,7 +256,7 @@ class CurlResult
{
$field = strtolower(trim($field));
$headers = self::getHeaderArray();
$headers = $this->getHeaderArray();
return array_key_exists($field, $headers);
}