Skip to content

Commit 9fc5172

Browse files
committed
Allow \Throwable $previous everywhere
1 parent 5e047ef commit 9fc5172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exception/HttpTransportException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class HttpTransportException extends TransportException
2020
{
2121
private $response;
2222

23-
public function __construct(string $message = null, ResponseInterface $response, int $code = 0, \Exception $previous = null)
23+
public function __construct(string $message = null, ResponseInterface $response, int $code = 0, \Throwable $previous = null)
2424
{
2525
parent::__construct($message, $code, $previous);
2626

0 commit comments

Comments
 (0)