From c75cb426f9bd73da8dc58ffb4d9c994ce80acdb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 14 Jul 2020 16:31:30 +0200 Subject: [PATCH] Make HttpFactory::$defaultClient static --- wcfsetup/install/files/lib/system/io/HttpFactory.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.20.1