PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/s3/Aws/WrappedHttpHandler.php +2 -1 1.2.21.4.1 View file →
@@ -2,8 +2,9 @@
2 2
3 3 namespace Dudlewebs\WPMCS\s3\Aws;
4 4
5 5 use Dudlewebs\WPMCS\s3\Aws\Api\Parser\Exception\ParserException;
6 +use Dudlewebs\WPMCS\s3\Aws\Exception\AwsException;
6 7 use Dudlewebs\WPMCS\s3\GuzzleHttp\Promise;
7 8 use Dudlewebs\WPMCS\s3\Psr\Http\Message\RequestInterface;
8 9 use Dudlewebs\WPMCS\s3\Psr\Http\Message\ResponseInterface;
9 10 /**
@@ -41,9 +42,9 @@
41 42 * @param string $exceptionClass Exception class to throw.
42 43 * @param bool $collectStats Whether to collect HTTP transfer
43 44 * information.
44 45 */
45 - public function __construct(callable $httpHandler, callable $parser, callable $errorParser, $exceptionClass = 'Dudlewebs\\WPMCS\\s3\\Aws\\Exception\\AwsException', $collectStats = \false)
46 + public function __construct(callable $httpHandler, callable $parser, callable $errorParser, $exceptionClass = AwsException::class, $collectStats = \false)
46 47 {
47 48 $this->httpHandler = $httpHandler;
48 49 $this->parser = $parser;
49 50 $this->errorParser = $errorParser;