Skip to content

Commit

Permalink
Add Stream Factory Discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
karakhanyans committed Dec 5, 2023
1 parent b460d30 commit f91fd29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ public function getClient(): ClientInterface
{
return new HttpMethodsClient(
$this->client ?? Psr18ClientDiscovery::find(),
Psr17FactoryDiscovery::findRequestFactory()
Psr17FactoryDiscovery::findRequestFactory(),
Psr17FactoryDiscovery::findStreamFactory(),
);
}
}

0 comments on commit f91fd29

Please sign in to comment.