diff --git a/src/Connection.php b/src/Connection.php index f5b270f9f8..f004a55ebf 100644 --- a/src/Connection.php +++ b/src/Connection.php @@ -77,7 +77,7 @@ class Connection implements ServerVersionProvider /** * The transaction nesting level. */ - private int $transactionNestingLevel = 0; + protected int $transactionNestingLevel = 0; /** * The currently active transaction isolation level or NULL before it has been determined. @@ -1392,7 +1392,6 @@ final public function convertExceptionDuringQuery( return $this->handleDriverException($e, new Query($sql, $params, $types)); } - /** @internal */ final public function convertException(Driver\Exception $e): DriverException { return $this->handleDriverException($e, null);