Skip to content

Commit 97f4dab

Browse files
committed
Add back constructor comment
1 parent bf2b8ea commit 97f4dab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/components/discovery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class MyClass
3838
protected $httpClient;
3939

4040
/**
41-
* @param HttpClient|null $httpClient
41+
* @param HttpClient|null $httpClient Client to do HTTP requests, if not set, autodiscovery will be used to find a HTTP client.
4242
*/
4343
public function __construct(HttpClient $httpClient = null)
4444
{
@@ -64,7 +64,7 @@ class MyClass
6464
protected $httpAsyncClient;
6565

6666
/**
67-
* @param HttpAsyncClient|null $httpAsyncClient
67+
* @param HttpAsyncClient|null $httpAsyncClient Client to do HTTP requests, if not set, autodiscovery will be used to find an asynchronous client.
6868
*/
6969
public function __construct(HttpAsyncClient $httpAsyncClient = null)
7070
{

0 commit comments

Comments
 (0)