Skip to content

Commit 41f5ce7

Browse files
CS fixes
1 parent 0811cfd commit 41f5ce7

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/Handler/Proxy.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ class Proxy
1717
* Sends synchronous requests to a specific handler while sending all other
1818
* requests to another handler.
1919
*
20-
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for normal responses
21-
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $sync Handler used for synchronous responses.
20+
* @param callable(RequestInterface, array): PromiseInterface $default Handler used for normal responses
21+
* @param callable(RequestInterface, array): PromiseInterface $sync Handler used for synchronous responses.
2222
*
23-
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
23+
* @return callable(RequestInterface, array): PromiseInterface Returns the composed handler.
2424
*/
2525
public static function wrapSync(callable $default, callable $sync): callable
2626
{
@@ -37,10 +37,10 @@ public static function wrapSync(callable $default, callable $sync): callable
3737
* performance benefits of curl while still supporting true streaming
3838
* through the StreamHandler.
3939
*
40-
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for non-streaming responses
41-
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $streaming Handler used for streaming responses
40+
* @param callable(RequestInterface, array): PromiseInterface $default Handler used for non-streaming responses
41+
* @param callable(RequestInterface, array): PromiseInterface $streaming Handler used for streaming responses
4242
*
43-
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
43+
* @return callable(RequestInterface, array): PromiseInterface Returns the composed handler.
4444
*/
4545
public static function wrapStreaming(callable $default, callable $streaming): callable
4646
{

src/Pool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function promise(): PromiseInterface
8686
* @param ClientInterface $client Client used to send the requests
8787
* @param array|\Iterator $requests Requests to send concurrently.
8888
* @param array $options Passes through the options available in
89-
* {@see \GuzzleHttp\Pool::__construct}
89+
* {@see Pool::__construct}
9090
*
9191
* @return array Returns an array containing the response or an exception
9292
* in the same order that the requests were sent.

src/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static function debugResource($value = null)
7979
*
8080
* The returned handler is not wrapped by any default middlewares.
8181
*
82-
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.
82+
* @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system.
8383
*
8484
* @throws \RuntimeException if no viable Handler is available.
8585
*/

src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function debug_resource($value = null)
5050
*
5151
* The returned handler is not wrapped by any default middlewares.
5252
*
53-
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.
53+
* @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system.
5454
*
5555
* @throws \RuntimeException if no viable Handler is available.
5656
*

0 commit comments

Comments
 (0)