Skip to content

Commit

Permalink
[6.5] Remove obsolete statement in handler option docs (#2567)
Browse files Browse the repository at this point in the history
* Remove obsolete statement in handler option phpDoc

* Remove obsolete statement in handler option doc
  • Loading branch information
guilliamxavier committed May 23, 2020
1 parent d3f2c17 commit 0d137e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions docs/quickstart.rst
Expand Up @@ -67,8 +67,7 @@ The client constructor accepts an associative array of options:
function is called with a ``Psr7\Http\Message\RequestInterface`` and array
of transfer options, and must return a
``GuzzleHttp\Promise\PromiseInterface`` that is fulfilled with a
``Psr7\Http\Message\ResponseInterface`` on success. ``handler`` is a
constructor only option that cannot be overridden in per/request options.
``Psr7\Http\Message\ResponseInterface`` on success.

``...``
(mixed) All other options passed to the constructor are used as default
Expand Down
5 changes: 2 additions & 3 deletions src/Client.php
Expand Up @@ -47,9 +47,8 @@ class Client implements ClientInterface
* wire. The function is called with a Psr7\Http\Message\RequestInterface
* and array of transfer options, and must return a
* GuzzleHttp\Promise\PromiseInterface that is fulfilled with a
* Psr7\Http\Message\ResponseInterface on success. "handler" is a
* constructor only option that cannot be overridden in per/request
* options. If no handler is provided, a default handler will be created
* Psr7\Http\Message\ResponseInterface on success.
* If no handler is provided, a default handler will be created
* that enables all of the request options below by attaching all of the
* default middleware to the handler.
* - base_uri: (string|UriInterface) Base URI of the client that is merged
Expand Down

0 comments on commit 0d137e9

Please sign in to comment.