Skip to content

Optimize config of GuzzleHttpClient - #24

Merged
huangdijia merged 2 commits into
2.xfrom
patch-3
Aug 11, 2024
Merged

Optimize config of GuzzleHttpClient#24
huangdijia merged 2 commits into
2.xfrom
patch-3

Conversation

@huangdijia

Copy link
Copy Markdown
Contributor

No description provided.

The code changes in `GuzzleHttpTransporter.php` update the configuration handling in the constructor. The `$config` array is now merged with a default configuration array using `array_replace()`. This change ensures that the transporter has the correct configuration values when creating a new instance of `GuzzleHttpTransporter`.

Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
@huangdijia
huangdijia marked this pull request as ready for review August 11, 2024 13:38
@huangdijia
huangdijia merged commit 9b84299 into 2.x Aug 11, 2024
@huangdijia
huangdijia deleted the patch-3 branch August 11, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant