From ea47ce5ca2ecd23d161fe40b85056e70a9fbd5ab Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Mon, 30 Dec 2013 16:55:32 +0100 Subject: [PATCH] code style fixes --- framework/yii/db/Connection.php | 9 +++++---- framework/yii/test/DbFixtureManager.php | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/framework/yii/db/Connection.php b/framework/yii/db/Connection.php index 030e6c7..0fb28ad 100644 --- a/framework/yii/db/Connection.php +++ b/framework/yii/db/Connection.php @@ -246,6 +246,10 @@ class Connection extends Component 'cubrid' => 'yii\db\cubrid\Schema', // CUBRID ]; /** + * @var string Custom PDO wrapper class. If not set, it will use "PDO" or "yii\db\mssql\PDO" when MSSQL is used. + */ + public $pdoClass; + /** * @var Transaction the currently active transaction */ private $_transaction; @@ -253,10 +257,7 @@ class Connection extends Component * @var Schema the database schema */ private $_schema; - /** - * @var string Custom PDO wrapper class. If not set, it will use "PDO" or "yii\db\mssql\PDO" when MSSQL is used. - */ - public $pdoClass; + /** * Returns a value indicating whether the DB connection is established. diff --git a/framework/yii/test/DbFixtureManager.php b/framework/yii/test/DbFixtureManager.php index 0072fd2..eab398b 100644 --- a/framework/yii/test/DbFixtureManager.php +++ b/framework/yii/test/DbFixtureManager.php @@ -145,7 +145,7 @@ class DbFixtureManager extends Component } $this->db->createCommand()->truncateTable($tableName)->execute(); - $this->db->createCommand()->resetSequence($tableName,1)->execute(); + $this->db->createCommand()->resetSequence($tableName, 1)->execute(); $fileName = $this->basePath . '/' . $tableName . '.php'; if (!is_file($fileName)) {