From 5cdeb8615fb9233be02d3b7257eabac4f064cb99 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 2 Oct 2019 03:31:58 +0000 Subject: [PATCH] Use $this --- src/Network/CurlResult.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Network/CurlResult.php b/src/Network/CurlResult.php index 06ca45fbc..a8dd3dd63 100644 --- a/src/Network/CurlResult.php +++ b/src/Network/CurlResult.php @@ -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); }