Skip to content

Commit 1690965

Browse files
dbuStyleCIBot
authored andcommitted
Applied fixes from StyleCI
1 parent 7213b19 commit 1690965

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

src/BatchClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ public function sendRequest(RequestInterface $request)
4545
*
4646
* @param RequestInterface[] The requests to send
4747
*
48-
* @return BatchResult Containing one result per request.
48+
* @return BatchResult Containing one result per request
4949
*
5050
* @throws BatchException If one or more requests fails. The exception gives access to the
5151
* BatchResult with a map of request to result for success, request to
52-
* exception for failures.
52+
* exception for failures
5353
*/
5454
public function sendRequests(array $requests)
5555
{

src/BatchResult.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function isSuccessful(RequestInterface $request)
7474
*
7575
* @return ResponseInterface
7676
*
77-
* @throws \UnexpectedValueException If request was not part of the batch or failed.
77+
* @throws \UnexpectedValueException If request was not part of the batch or failed
7878
*/
7979
public function getResponseFor(RequestInterface $request)
8080
{
@@ -91,7 +91,7 @@ public function getResponseFor(RequestInterface $request)
9191
* @param RequestInterface $request
9292
* @param ResponseInterface $response
9393
*
94-
* @return BatchResult the new BatchResult with this request-response pair added to it.
94+
* @return BatchResult the new BatchResult with this request-response pair added to it
9595
*/
9696
public function addResponse(RequestInterface $request, ResponseInterface $response)
9797
{
@@ -146,7 +146,7 @@ public function isFailed(RequestInterface $request)
146146
*
147147
* @return Exception
148148
*
149-
* @throws \UnexpectedValueException If request was not part of the batch or was successful.
149+
* @throws \UnexpectedValueException If request was not part of the batch or was successful
150150
*/
151151
public function getExceptionFor(RequestInterface $request)
152152
{
@@ -163,7 +163,7 @@ public function getExceptionFor(RequestInterface $request)
163163
* @param RequestInterface $request
164164
* @param Exception $exception
165165
*
166-
* @return BatchResult the new BatchResult with this request-exception pair added to it.
166+
* @return BatchResult the new BatchResult with this request-exception pair added to it
167167
*/
168168
public function addException(RequestInterface $request, Exception $exception)
169169
{

src/HttpMethodsClient.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ class HttpMethodsClient implements HttpClient
3737
private $messageFactory;
3838

3939
/**
40-
* @param HttpClient $httpClient The client to send requests with.
41-
* @param MessageFactory $messageFactory The message factory to create requests.
40+
* @param HttpClient $httpClient The client to send requests with
41+
* @param MessageFactory $messageFactory The message factory to create requests
4242
*/
4343
public function __construct(HttpClient $httpClient, MessageFactory $messageFactory)
4444
{
@@ -174,7 +174,7 @@ public function options($uri, array $headers = [], $body = null)
174174
/**
175175
* Sends a request with any HTTP method.
176176
*
177-
* @param string $method HTTP method to use.
177+
* @param string $method HTTP method to use
178178
* @param string|UriInterface $uri
179179
* @param array $headers
180180
* @param string|StreamInterface|null $body

src/Plugin/DecoderPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class DecoderPlugin implements Plugin
2323
/**
2424
* @var bool Whether this plugin decode stream with value in the Content-Encoding header (default to true).
2525
*
26-
* If set to false only the Transfer-Encoding header will be used.
26+
* If set to false only the Transfer-Encoding header will be used
2727
*/
2828
private $useContentEncoding;
2929

src/Plugin/RedirectPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class RedirectPlugin implements Plugin
102102
/**
103103
* @param array $config {
104104
*
105-
* @var bool|string[] $preserve_header True keeps all headers, false remove all of them, an array is interpreted as a list of header names to keep.
105+
* @var bool|string[] $preserve_header True keeps all headers, false remove all of them, an array is interpreted as a list of header names to keep
106106
* @var bool $use_default_for_multiple Whether the location header must be directly used for a multiple redirection status code (300).
107107
* }
108108
*/

0 commit comments

Comments
 (0)