mirror of
https://github.com/friendica/friendica
synced 2025-01-22 18:19:47 +00:00
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));
|
||||
|
||||
$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…
Add table
Reference in a new issue