Fix deprecation notice on PHP 8.4 (#12046)
PHP 8.4 requires nullable arguments to be explicitly declared as such.pull/11995/head
parent
db869409e1
commit
029dda0b43
|
@ -26,7 +26,7 @@ class TransportException extends \RuntimeException
|
||||||
/** @var array<mixed> */
|
/** @var array<mixed> */
|
||||||
protected $responseInfo = [];
|
protected $responseInfo = [];
|
||||||
|
|
||||||
public function __construct(string $message = "", int $code = 400, \Throwable $previous = null)
|
public function __construct(string $message = "", int $code = 400, ?\Throwable $previous = null)
|
||||||
{
|
{
|
||||||
parent::__construct($message, $code, $previous);
|
parent::__construct($message, $code, $previous);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue