提交的内容

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

2
vendor/guzzlehttp/command/src/Command.php vendored Executable file → Normal file
View File

@ -25,7 +25,7 @@ class Command implements CommandInterface
public function __construct(
$name,
array $args = [],
HandlerStack $handlerStack = null
?HandlerStack $handlerStack = null
) {
$this->name = $name;
$this->data = $args;

0
vendor/guzzlehttp/command/src/CommandInterface.php vendored Executable file → Normal file
View File

0
vendor/guzzlehttp/command/src/Exception/CommandClientException.php vendored Executable file → Normal file
View File

12
vendor/guzzlehttp/command/src/Exception/CommandException.php vendored Executable file → Normal file
View File

@ -57,17 +57,15 @@ class CommandException extends \RuntimeException implements GuzzleException
}
/**
* @param string $message Exception message
* @param \Exception $previous Previous exception (if any)
* @param RequestInterface $request
* @param ResponseInterface $response
* @param string $message Exception message
* @param \Exception|null $previous Previous exception (if any)
*/
public function __construct(
$message,
CommandInterface $command,
\Exception $previous = null,
RequestInterface $request = null,
ResponseInterface $response = null
?\Exception $previous = null,
?RequestInterface $request = null,
?ResponseInterface $response = null
) {
$this->command = $command;
$this->request = $request;

0
vendor/guzzlehttp/command/src/Exception/CommandServerException.php vendored Executable file → Normal file
View File

0
vendor/guzzlehttp/command/src/HasDataTrait.php vendored Executable file → Normal file
View File

0
vendor/guzzlehttp/command/src/Result.php vendored Executable file → Normal file
View File

0
vendor/guzzlehttp/command/src/ResultInterface.php vendored Executable file → Normal file
View File

4
vendor/guzzlehttp/command/src/ServiceClient.php vendored Executable file → Normal file
View File

@ -49,7 +49,7 @@ class ServiceClient implements ServiceClientInterface
HttpClient $httpClient,
callable $commandToRequestTransformer,
callable $responseToResultTransformer,
HandlerStack $commandHandlerStack = null
?HandlerStack $commandHandlerStack = null
) {
$this->httpClient = $httpClient;
$this->commandToRequestTransformer = $commandToRequestTransformer;
@ -144,7 +144,7 @@ class ServiceClient implements ServiceClientInterface
*
* @return ResultInterface|PromiseInterface
*
* @see \GuzzleHttp\Command\ServiceClientInterface::getCommand
* @see ServiceClientInterface::getCommand
*/
public function __call($name, array $args)
{

0
vendor/guzzlehttp/command/src/ServiceClientInterface.php vendored Executable file → Normal file
View File

0
vendor/guzzlehttp/command/src/ToArrayInterface.php vendored Executable file → Normal file
View File