Skip to content

Commit 96b6fea

Browse files
committed
Fix CS
1 parent 5e746fb commit 96b6fea

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

src/BatchResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function getResponseFor(RequestInterface $request): ResponseInterface
9393
*
9494
* @return BatchResult the new BatchResult with this request-response pair added to it
9595
*/
96-
public function addResponse(RequestInterface $request, ResponseInterface $response): BatchResult
96+
public function addResponse(RequestInterface $request, ResponseInterface $response): self
9797
{
9898
$new = clone $this;
9999
$new->responses->attach($request, $response);
@@ -165,7 +165,7 @@ public function getExceptionFor(RequestInterface $request): Exception
165165
*
166166
* @return BatchResult the new BatchResult with this request-exception pair added to it
167167
*/
168-
public function addException(RequestInterface $request, Exception $exception): BatchResult
168+
public function addException(RequestInterface $request, Exception $exception): self
169169
{
170170
$new = clone $this;
171171
$new->exceptions->attach($request, $exception);

src/Deferred.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function getState(): string
7676

7777
/**
7878
* Resolve this deferred with a Response.
79-
*
79+
*
8080
* @param ResponseInterface $response
8181
*/
8282
public function resolve(ResponseInterface $response)
@@ -95,7 +95,7 @@ public function resolve(ResponseInterface $response)
9595

9696
/**
9797
* Reject this deferred with an Exception.
98-
*
98+
*
9999
* @param Exception $exception
100100
*/
101101
public function reject(Exception $exception)

src/FlexibleHttpClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Http\Client\HttpAsyncClient;
66
use Http\Client\HttpClient;
7-
use Psr\Http\Client\ClientInterface;
87

98
/**
109
* A flexible http client, which implements both interface and will emulate

src/HttpAsyncClientDecorator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Http\Client\Common;
44

55
use Http\Client\HttpAsyncClient;
6-
use Http\Promise\Promise;
76
use Psr\Http\Message\RequestInterface;
87

98
/**

0 commit comments

Comments
 (0)