diff --git a/http_client.rst b/http_client.rst index c9eaf9007c9..67ad0efb527 100644 --- a/http_client.rst +++ b/http_client.rst @@ -138,9 +138,7 @@ You can configure the global options using the ``default_options`` option: .. code-block:: php-standalone $client = HttpClient::create([ - 'default_options' => [ - 'max_redirects' => 7, - ], + 'max_redirects' => 7, ]); Some options are described in this guide: