Skip to content

Commit 05aa059

Browse files
ziaratbansamdark
andauthored
Update src/Connection.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
1 parent 5fdb9a0 commit 05aa059

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Connection.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,9 @@ public function open()
349349
}
350350
$token = 'Opening MongoDB connection: ' . $this->dsn;
351351
try {
352-
if($this->enableLogging)
352+
if ($this->enableLogging) {
353353
Yii::trace($token, __METHOD__);
354+
}
354355
if($this->enableProfiling)
355356
Yii::beginProfile($token, __METHOD__);
356357
$options = $this->options;

0 commit comments

Comments
 (0)