Commit ee89134f by Carsten Brandt

make db\Command::getPdoType() protected

fixes #964
parent 300c866b
...@@ -251,7 +251,7 @@ class Command extends \yii\base\Component ...@@ -251,7 +251,7 @@ class Command extends \yii\base\Component
* @return integer the PDO type * @return integer the PDO type
* @see http://www.php.net/manual/en/pdo.constants.php * @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 static $typeMap = array( // php type => PDO type
'boolean' => \PDO::PARAM_BOOL, 'boolean' => \PDO::PARAM_BOOL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment