提交的内容

This commit is contained in:
2025-05-12 15:45:02 +08:00
parent 629c4750da
commit b48c692775
3043 changed files with 34732 additions and 60810 deletions

19
vendor/guzzlehttp/guzzle-services/src/GuzzleClient.php vendored Executable file → Normal file
View File

@ -34,19 +34,16 @@ class GuzzleClient extends ServiceClient
* - response_locations: Associative array of location types mapping to
* ResponseLocationInterface objects.
*
* @param ClientInterface $client HTTP client to use.
* @param DescriptionInterface $description Guzzle service description
* @param callable $commandToRequestTransformer
* @param callable $responseToResultTransformer
* @param HandlerStack $commandHandlerStack
* @param array $config Configuration options
* @param ClientInterface $client HTTP client to use.
* @param DescriptionInterface $description Guzzle service description
* @param array $config Configuration options
*/
public function __construct(
ClientInterface $client,
DescriptionInterface $description,
callable $commandToRequestTransformer = null,
callable $responseToResultTransformer = null,
HandlerStack $commandHandlerStack = null,
?callable $commandToRequestTransformer = null,
?callable $responseToResultTransformer = null,
?HandlerStack $commandHandlerStack = null,
array $config = []
) {
$this->config = $config;
@ -99,7 +96,7 @@ class GuzzleClient extends ServiceClient
*
* @param callable|null $commandToRequestTransformer
*
* @return \GuzzleHttp\Command\Guzzle\Serializer
* @return Serializer
*/
private function getSerializer($commandToRequestTransformer)
{
@ -113,7 +110,7 @@ class GuzzleClient extends ServiceClient
*
* @param callable|null $responseToResultTransformer
*
* @return \GuzzleHttp\Command\Guzzle\Deserializer
* @return Deserializer
*/
private function getDeserializer($responseToResultTransformer)
{