Composer update
* updated Laravel to v5.6.38 * Added laravel tinker in dev dependencies
This commit is contained in:
committed by
Manish Verma
parent
be4b1231b6
commit
6742e13d81
@@ -2,9 +2,11 @@
|
||||
namespace Aws\S3;
|
||||
|
||||
use Aws\Api\Parser\AbstractParser;
|
||||
use Aws\Api\StructureShape;
|
||||
use Aws\CommandInterface;
|
||||
use Aws\Exception\AwsException;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\StreamInterface;
|
||||
|
||||
/**
|
||||
* Converts errors returned with a status code of 200 to a retryable error type.
|
||||
@@ -19,8 +21,6 @@ class AmbiguousSuccessParser extends AbstractParser
|
||||
'CompleteMultipartUpload' => true,
|
||||
];
|
||||
|
||||
/** @var callable */
|
||||
private $parser;
|
||||
/** @var callable */
|
||||
private $errorParser;
|
||||
/** @var string */
|
||||
@@ -57,4 +57,11 @@ class AmbiguousSuccessParser extends AbstractParser
|
||||
$fn = $this->parser;
|
||||
return $fn($command, $response);
|
||||
}
|
||||
|
||||
public function parseMemberFromStream(
|
||||
StreamInterface $stream,
|
||||
StructureShape $member
|
||||
) {
|
||||
return $this->parser->parseMemberFromStream($stream, $member);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
namespace Aws\S3;
|
||||
|
||||
use Aws\Api\Parser\AbstractParser;
|
||||
use Aws\Api\StructureShape;
|
||||
use Aws\CommandInterface;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\StreamInterface;
|
||||
|
||||
/**
|
||||
* @internal Decorates a parser for the S3 service to correctly handle the
|
||||
@@ -11,9 +13,6 @@ use Psr\Http\Message\ResponseInterface;
|
||||
*/
|
||||
class GetBucketLocationParser extends AbstractParser
|
||||
{
|
||||
/** @var callable */
|
||||
private $parser;
|
||||
|
||||
/**
|
||||
* @param callable $parser Parser to wrap.
|
||||
*/
|
||||
@@ -39,4 +38,11 @@ class GetBucketLocationParser extends AbstractParser
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function parseMemberFromStream(
|
||||
StreamInterface $stream,
|
||||
StructureShape $member
|
||||
) {
|
||||
return $this->parser->parseMemberFromStream($stream, $member);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
namespace Aws\S3;
|
||||
|
||||
use Aws\Api\Parser\AbstractParser;
|
||||
use Aws\Api\StructureShape;
|
||||
use Aws\Api\Parser\Exception\ParserException;
|
||||
use Aws\CommandInterface;
|
||||
use Aws\Exception\AwsException;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\StreamInterface;
|
||||
|
||||
/**
|
||||
* Converts malformed responses to a retryable error type.
|
||||
@@ -14,8 +16,6 @@ use Psr\Http\Message\ResponseInterface;
|
||||
*/
|
||||
class RetryableMalformedResponseParser extends AbstractParser
|
||||
{
|
||||
/** @var callable */
|
||||
private $parser;
|
||||
/** @var string */
|
||||
private $exceptionClass;
|
||||
|
||||
@@ -45,4 +45,11 @@ class RetryableMalformedResponseParser extends AbstractParser
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
public function parseMemberFromStream(
|
||||
StreamInterface $stream,
|
||||
StructureShape $member
|
||||
) {
|
||||
return $this->parser->parseMemberFromStream($stream, $member);
|
||||
}
|
||||
}
|
||||
|
||||
2
vendor/aws/aws-sdk-php/src/S3/S3Client.php
vendored
2
vendor/aws/aws-sdk-php/src/S3/S3Client.php
vendored
@@ -169,6 +169,8 @@ use Psr\Http\Message\RequestInterface;
|
||||
* @method \GuzzleHttp\Promise\Promise putObjectTaggingAsync(array $args = [])
|
||||
* @method \Aws\Result restoreObject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise restoreObjectAsync(array $args = [])
|
||||
* @method \Aws\Result selectObjectContent(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise selectObjectContentAsync(array $args = [])
|
||||
* @method \Aws\Result uploadPart(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise uploadPartAsync(array $args = [])
|
||||
* @method \Aws\Result uploadPartCopy(array $args = [])
|
||||
|
||||
@@ -162,6 +162,8 @@ use GuzzleHttp\Promise;
|
||||
* @method \GuzzleHttp\Promise\Promise putObjectTaggingAsync(array $args = [])
|
||||
* @method \Aws\Result restoreObject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise restoreObjectAsync(array $args = [])
|
||||
* @method \Aws\Result selectObjectContent(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise selectObjectContentAsync(array $args = [])
|
||||
* @method \Aws\Result uploadPart(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise uploadPartAsync(array $args = [])
|
||||
* @method \Aws\Result uploadPartCopy(array $args = [])
|
||||
|
||||
Reference in New Issue
Block a user