Skip to content

Commit 496e69e

Browse files
authored
Fix BC break on exceptions (#940)
1 parent 7b35cb6 commit 496e69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exception/Http/HttpExceptionTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ trait HttpExceptionTrait
2424
*/
2525
private $awsError;
2626

27-
public function __construct(ResponseInterface $response, ?AwsError $awsError)
27+
public function __construct(ResponseInterface $response, AwsError $awsError = null)
2828
{
2929
$this->response = $response;
3030
/** @var int $code */

0 commit comments

Comments
 (0)