Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit d8e30e3

Browse files
committed
Remove unnecessary docblocks
1 parent a2a0300 commit d8e30e3

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

src/Client.php

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ final class Client implements HttpClient, HttpAsyncClient
2323
*/
2424
private $client;
2525

26-
/**
27-
* @param ClientInterface|null $client
28-
*/
2926
public function __construct(ClientInterface $client = null)
3027
{
3128
if (!$client) {
@@ -37,10 +34,6 @@ public function __construct(ClientInterface $client = null)
3734

3835
/**
3936
* Factory method to create the Guzzle 6 adapter with custom Guzzle configuration.
40-
*
41-
* @param array $config Configuration to create guzzle with.
42-
*
43-
* @return Client
4437
*/
4538
public static function createWithConfig(array $config): Client
4639
{
@@ -68,13 +61,9 @@ public function sendAsyncRequest(RequestInterface $request)
6861
}
6962

7063
/**
71-
* Build the guzzle client instance.
72-
*
73-
* @param array $config Additional configuration
74-
*
75-
* @return GuzzleClient
64+
* Build the Guzzle client instance.
7665
*/
77-
private static function buildClient(array $config = [])
66+
private static function buildClient(array $config = []): GuzzleClient
7867
{
7968
$handlerStack = new HandlerStack(\GuzzleHttp\choose_handler());
8069
$handlerStack->push(Middleware::prepareBody(), 'prepare_body');

0 commit comments

Comments
 (0)