From ecde635e98e1aea85aefe55302e5fd736701451a Mon Sep 17 00:00:00 2001 From: Maksim Spirkov <63721828+mspirkov@users.noreply.github.com> Date: Mon, 13 Oct 2025 09:59:39 +0300 Subject: [PATCH] Fix `@var` annotations for `yii\db\Connection` properties (#20596) --- framework/db/Connection.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/framework/db/Connection.php b/framework/db/Connection.php index 123577efb4..0a77b18b0a 100644 --- a/framework/db/Connection.php +++ b/framework/db/Connection.php @@ -431,15 +431,15 @@ class Connection extends Component */ private $_queryBuilderConfigurations = []; /** - * @var Transaction the currently active transaction + * @var Transaction|null the currently active transaction */ private $_transaction; /** - * @var Schema the database schema + * @var Schema|null the database schema */ private $_schema; /** - * @var string driver name + * @var string|null driver name */ private $_driverName; /** @@ -455,11 +455,11 @@ class Connection extends Component */ private $_queryCacheInfo = []; /** - * @var string[] quoted table name cache for [[quoteTableName()]] calls + * @var string[]|null quoted table name cache for [[quoteTableName()]] calls */ private $_quotedTableNames; /** - * @var string[] quoted column name cache for [[quoteColumnName()]] calls + * @var string[]|null quoted column name cache for [[quoteColumnName()]] calls */ private $_quotedColumnNames;