Browse Source

Fix event namespace in `yii\db\Connection` phpdoc (#18608)

bizley-patch-1
AIZAWA Hina 3 years ago committed by GitHub
parent
commit
ad2ce6ad4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      framework/db/Connection.php

8
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';

Loading…
Cancel
Save