From ad2ce6ad4f6a17bde1d30a0fa44926df9ee62fdf Mon Sep 17 00:00:00 2001 From: AIZAWA Hina Date: Tue, 20 Apr 2021 15:53:48 +0900 Subject: [PATCH] Fix event namespace in `yii\db\Connection` phpdoc (#18608) --- framework/db/Connection.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/db/Connection.php b/framework/db/Connection.php index be19d21..c8fa416 100644 --- a/framework/db/Connection.php +++ b/framework/db/Connection.php @@ -136,19 +136,19 @@ use yii\caching\CacheInterface; class Connection extends Component { /** - * @event yii\base\Event an event that is triggered after a DB connection is established + * @event \yii\base\Event an event that is triggered after a DB connection is established */ const EVENT_AFTER_OPEN = 'afterOpen'; /** - * @event yii\base\Event an event that is triggered right before a top-level transaction is started + * @event \yii\base\Event an event that is triggered right before a top-level transaction is started */ const EVENT_BEGIN_TRANSACTION = 'beginTransaction'; /** - * @event yii\base\Event an event that is triggered right after a top-level transaction is committed + * @event \yii\base\Event an event that is triggered right after a top-level transaction is committed */ const EVENT_COMMIT_TRANSACTION = 'commitTransaction'; /** - * @event yii\base\Event an event that is triggered right after a top-level transaction is rolled back + * @event \yii\base\Event an event that is triggered right after a top-level transaction is rolled back */ const EVENT_ROLLBACK_TRANSACTION = 'rollbackTransaction';