Skip to content

Commit bde3a08

Browse files
committed
Merge branch '5.1'
* 5.1: Update http_client.rst : HttpClient::Create() standalone
2 parents 5b577dc + f8a15e7 commit bde3a08

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

http_client.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ You can configure the global options using the ``default_options`` option:
134134
.. code-block:: php-standalone
135135
136136
$client = HttpClient::create([
137-
'default_options' => [
138-
'max_redirects' => 7,
139-
],
137+
'max_redirects' => 7,
140138
]);
141139
142140
Some options are described in this guide:

0 commit comments

Comments
 (0)