We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9d36c6 commit 8bd3bebCopy full SHA for 8bd3beb
README.md
@@ -130,9 +130,9 @@ return [
130
'on before_consume' => function ($event) {
131
if (isset(\Yii::$app->db) && \Yii::$app->db->isActive) {
132
try {
133
- Yii::$app->db->createCommand('SELECT 1')->query();
+ \Yii::$app->db->createCommand('SELECT 1')->query();
134
} catch (\yii\db\Exception $exception) {
135
- Yii::$app->db->close();
+ \Yii::$app->db->close();
136
}
137
138
},
0 commit comments