Make HttpFactory::$defaultClient static
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 14 Jul 2020 14:31:30 +0000 (16:31 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 14 Jul 2020 14:31:30 +0000 (16:31 +0200)
wcfsetup/install/files/lib/system/io/HttpFactory.class.php

index 98b13efdcbcb4fa7c2bcdb0265cec58912a70226..45df454296435f70c5578a76982ef3fec9f14a6b 100644 (file)
@@ -20,7 +20,7 @@ final class HttpFactory {
        /**
         * @var Client
         */
-       private $defaultClient;
+       private static $defaultClient;
        
        /**
         * Returns a reference to the default HTTP client.