]> git.mxchange.org Git - friendica.git/commitdiff
Use $this
authorMichael <heluecht@pirati.ca>
Wed, 2 Oct 2019 03:31:58 +0000 (03:31 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 2 Oct 2019 03:31:58 +0000 (03:31 +0000)
src/Network/CurlResult.php

index 06ca45fbce27dbe716b25fc355fbf5e4e5e037a1..a8dd3dd63161ab8a82ff0570d6b8cedc190190a9 100644 (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);
        }