Make "HTTPRequest::fetchUrlFull" dynamic

This commit is contained in:
nupplaPhil 2020-03-04 22:19:59 +01:00 committed by Hypolite Petovan
parent 8793096c16
commit 3b4cf87c95
4 changed files with 6 additions and 6 deletions

View file

@ -365,9 +365,9 @@ class HTTPRequest
* @return CurlResult With all relevant information, 'body' contains the actual fetched content.
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
public static function fetchUrlFull(string $url, bool $binary = false, int $timeout = 0, string $accept_content = '', string $cookiejar = '', int &$redirects = 0)
public function fetchUrlFull(string $url, bool $binary = false, int $timeout = 0, string $accept_content = '', string $cookiejar = '', int &$redirects = 0)
{
return self::curl(
return $this->curl(
$url,
$binary,
[