diff --git a/src/PostgresQueryError.php b/src/PostgresQueryError.php index 83e1ec1..d3992e2 100644 --- a/src/PostgresQueryError.php +++ b/src/PostgresQueryError.php @@ -13,7 +13,7 @@ public function __construct( string $message, private readonly array $diagnostics, string $query, - \Throwable $previous = null, + ?\Throwable $previous = null, ) { parent::__construct($message, $query, $previous); }