mux-php
mux-php copied to clipboard
fix: Call to undefined function GuzzleHttp\\Psr7\\build_query() #57
Description:
With recent updates to the GuzzleHttp library, the build_query() function has been deprecated, causing runtime errors in the codebase. This pull request addresses these issues by replacing the deprecated function with the alternative build(), ensuring seamless integration with the latest GuzzleHttp changes.
Changes Made:
- Updated the usage of the deprecated
build_query()function to resolve "Call to undefined function" errors. - Introduced the new function
build()as a replacement.
Context:
The deprecation of build_query() necessitated this update to prevent runtime errors. The introduction of build() serves as the appropriate alternative, ensuring compatibility and smooth integration with the latest GuzzleHttp changes.
Related Issue:
Closes #57