Browse Source

Use $this

tags/2019.12
Michael 1 year ago
parent
commit
5cdeb8615f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Network/CurlResult.php

+ 2
- 2
src/Network/CurlResult.php 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);
}


Loading…
Cancel
Save