diff --git a/framework/yii/db/Command.php b/framework/yii/db/Command.php index 73ac04b..d0f3877 100644 --- a/framework/yii/db/Command.php +++ b/framework/yii/db/Command.php @@ -251,7 +251,7 @@ class Command extends \yii\base\Component * @return integer the PDO type * @see http://www.php.net/manual/en/pdo.constants.php */ - private function getPdoType($data) + protected function getPdoType($data) { static $typeMap = array( // php type => PDO type 'boolean' => \PDO::PARAM_BOOL,