From: Tim Düsterhus Date: Tue, 14 Jul 2020 14:31:30 +0000 (+0200) Subject: Make HttpFactory::$defaultClient static X-Git-Tag: 5.3.0_Alpha_1~132^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c75cb426f9bd73da8dc58ffb4d9c994ce80acdb9;p=GitHub%2FWoltLab%2FWCF.git Make HttpFactory::$defaultClient static --- diff --git a/wcfsetup/install/files/lib/system/io/HttpFactory.class.php b/wcfsetup/install/files/lib/system/io/HttpFactory.class.php index 98b13efdcb..45df454296 100644 --- a/wcfsetup/install/files/lib/system/io/HttpFactory.class.php +++ b/wcfsetup/install/files/lib/system/io/HttpFactory.class.php @@ -20,7 +20,7 @@ final class HttpFactory { /** * @var Client */ - private $defaultClient; + private static $defaultClient; /** * Returns a reference to the default HTTP client.