File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ interface ClientInterface
1010 /**
1111 * Sends a PSR-7 request and returns a PSR-7 response.
1212 *
13- * Every technically correct HTTP response MUST be returned as is, even if it represents an HTTP
13+ * Every technically correct HTTP response MUST be returned as- is, even if it represents an HTTP
1414 * error response or a redirect instruction. The only special case is 1xx responses, which MUST
1515 * be assembled in the HTTP client.
1616 *
1717 * The client MAY do modifications to the Request before sending it. Because PSR-7 objects are
1818 * immutable, one cannot assume that the object passed to ClientInterface::sendRequest() will be the same
19- * object that is actually sent. For example the Request object that is returned by an exception MAY
19+ * object that is actually sent. For example, the Request object that is returned by an exception MAY
2020 * be a different object than the one passed to sendRequest, so comparison by reference (===) is not possible.
2121 *
2222 * {@link https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-7-http-message-meta.md#why-value-objects}
@@ -25,7 +25,7 @@ interface ClientInterface
2525 *
2626 * @return ResponseInterface
2727 *
28- * @throws \Psr\Http\Client\ClientException If an error happens during processing the request.
28+ * @throws \Psr\Http\Client\ClientException If an error happens while processing the request.
2929 */
3030 public function sendRequest (RequestInterface $ request ): ResponseInterface ;
3131}
Original file line number Diff line number Diff line change 11<?php
22
3- namespace Psr \Http \Client \ Exception ;
3+ namespace Psr \Http \Client ;
44
5- use Psr \Http \Client \ClientException ;
65use Psr \Http \Message \RequestInterface ;
76
87/**
Original file line number Diff line number Diff line change 11<?php
22
3- namespace Psr \Http \Client \ Exception ;
3+ namespace Psr \Http \Client ;
44
5- use Psr \Http \Client \ClientException ;
65use Psr \Http \Message \RequestInterface ;
76
87/**
You can’t perform that action at this time.
0 commit comments