Skip to content

Commit

Permalink
Update src/Connection.php
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
  • Loading branch information
ziaratban and samdark authored Jul 6, 2020
1 parent ebeddb6 commit 1e760fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,9 @@ public function open()
if ($this->enableLogging) {
Yii::trace($token, __METHOD__);
}
if($this->enableProfiling)
if ($this->enableProfiling) {
Yii::beginProfile($token, __METHOD__);
}
$options = $this->options;

$this->manager = new Manager($this->dsn, $options, $this->driverOptions);
Expand Down

0 comments on commit 1e760fe

Please sign in to comment.