File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
11
use Psr \Http \Message \StreamFactoryInterface ;
12
12
use Psr \Http \Message \StreamInterface ;
13
13
use Psr \Http \Client \ClientInterface as HttpClientInterface ;
14
- use Psr \Http \Message \RequestFactoryInterface as RequestFactoryInterface ;
15
- use Psr \Http \Message \UriFactoryInterface ;
14
+ use Psr \Http \Message \RequestFactoryInterface ;
16
15
17
16
class Client implements ClientInterface
18
17
{
@@ -33,10 +32,11 @@ class Client implements ClientInterface
33
32
*/
34
33
private $ streamFactory ;
35
34
36
- public function __construct ($ httpClient = null , $ requestFactory = null )
35
+ public function __construct ($ httpClient = null , $ requestFactory = null , $ streamFactory = null )
37
36
{
38
37
$ this ->httpClient = $ httpClient ;
39
38
$ this ->requestFactory = $ requestFactory ;
39
+ $ this ->streamFactory = $ streamFactory ;
40
40
}
41
41
42
42
private function getHttpClient () : HttpClientInterface
You can’t perform that action at this time.
0 commit comments