提交的内容
This commit is contained in:
2
vendor/guzzlehttp/command/src/Command.php
vendored
Executable file → Normal file
2
vendor/guzzlehttp/command/src/Command.php
vendored
Executable file → Normal 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
0
vendor/guzzlehttp/command/src/CommandInterface.php
vendored
Executable file → Normal file
0
vendor/guzzlehttp/command/src/Exception/CommandClientException.php
vendored
Executable file → Normal file
0
vendor/guzzlehttp/command/src/Exception/CommandClientException.php
vendored
Executable file → Normal file
12
vendor/guzzlehttp/command/src/Exception/CommandException.php
vendored
Executable file → Normal file
12
vendor/guzzlehttp/command/src/Exception/CommandException.php
vendored
Executable file → Normal 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
0
vendor/guzzlehttp/command/src/Exception/CommandServerException.php
vendored
Executable file → Normal file
0
vendor/guzzlehttp/command/src/HasDataTrait.php
vendored
Executable file → Normal file
0
vendor/guzzlehttp/command/src/HasDataTrait.php
vendored
Executable file → Normal file
0
vendor/guzzlehttp/command/src/Result.php
vendored
Executable file → Normal file
0
vendor/guzzlehttp/command/src/Result.php
vendored
Executable file → Normal file
0
vendor/guzzlehttp/command/src/ResultInterface.php
vendored
Executable file → Normal file
0
vendor/guzzlehttp/command/src/ResultInterface.php
vendored
Executable file → Normal file
4
vendor/guzzlehttp/command/src/ServiceClient.php
vendored
Executable file → Normal file
4
vendor/guzzlehttp/command/src/ServiceClient.php
vendored
Executable file → Normal 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
0
vendor/guzzlehttp/command/src/ServiceClientInterface.php
vendored
Executable file → Normal file
0
vendor/guzzlehttp/command/src/ToArrayInterface.php
vendored
Executable file → Normal file
0
vendor/guzzlehttp/command/src/ToArrayInterface.php
vendored
Executable file → Normal file
Reference in New Issue
Block a user