File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11
11
use Psr \Http \Message \StreamInterface ;
12
12
use Psr \Http \Message \UriInterface ;
13
13
14
- class Client implements HttpClient, RequestFactory
14
+ class Client implements RequestFactory
15
15
{
16
16
/**
17
+ * The Http Client which implements `public function sendRequest(RequestInterface $request)`
18
+ *
17
19
* @var HttpClient
18
20
*/
19
21
private $ httpClient ;
@@ -23,7 +25,7 @@ class Client implements HttpClient, RequestFactory
23
25
*/
24
26
private $ requestFactory ;
25
27
26
- public function __construct (HttpClient $ httpClient = null , RequestFactory $ requestFactory = null )
28
+ public function __construct (/* HttpClient */ $ httpClient = null , RequestFactory $ requestFactory = null )
27
29
{
28
30
$ this ->httpClient = $ httpClient ?: HttpClientDiscovery::find ();
29
31
$ this ->requestFactory = $ requestFactory ?: MessageFactoryDiscovery::find ();
You can’t perform that action at this time.
0 commit comments