diff --git a/http_client.rst b/http_client.rst index 4cf88621e5c..c9eaf9007c9 100644 --- a/http_client.rst +++ b/http_client.rst @@ -197,10 +197,7 @@ The HTTP client also has one configuration option called .. code-block:: php-standalone - $client = HttpClient::create([ - 'max_host_connections' => 10, - // ... - ]); + $client = HttpClient::create([], 10); Scoping Client ~~~~~~~~~~~~~~