From 03921872992cd80eba9631c5592093781718224c Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 21 Jul 2023 17:52:16 +0900 Subject: [PATCH] DB\IO init with null --- src/DB/IO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DB/IO.php b/src/DB/IO.php index 3a9d885..d36453c 100644 --- a/src/DB/IO.php +++ b/src/DB/IO.php @@ -309,7 +309,7 @@ class IO // basic vars // the dbh handler, if disconnected by command is null, bool:false on error, /** @var \PgSql\Connection|false|null */ - private \PgSql\Connection|false|null $dbh; + private \PgSql\Connection|false|null $dbh = null; /** @var bool DB_DEBUG ... (if set prints out debug msgs) */ private bool $db_debug = false; /** @var string the DB connected to */