File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111use Psr \Http \Message \StreamFactoryInterface ;
1212use Psr \Http \Message \StreamInterface ;
1313use 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 ;
1615
1716class Client implements ClientInterface
1817{
@@ -33,10 +32,11 @@ class Client implements ClientInterface
3332 */
3433 private $ streamFactory ;
3534
36- public function __construct ($ httpClient = null , $ requestFactory = null )
35+ public function __construct ($ httpClient = null , $ requestFactory = null , $ streamFactory = null )
3736 {
3837 $ this ->httpClient = $ httpClient ;
3938 $ this ->requestFactory = $ requestFactory ;
39+ $ this ->streamFactory = $ streamFactory ;
4040 }
4141
4242 private function getHttpClient () : HttpClientInterface
You can’t perform that action at this time.
0 commit comments