Commit 71596903 authored by Steve Müller's avatar Steve Müller

fix bindParam signature in PDOStatement to avoid errors in pdo_sqlsrv

parent 70d8f604
...@@ -65,7 +65,7 @@ class PDOStatement extends \PDOStatement implements Statement ...@@ -65,7 +65,7 @@ class PDOStatement extends \PDOStatement implements Statement
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function bindParam($column, &$variable, $type = \PDO::PARAM_STR, $length = null, $driverOptions = array()) public function bindParam($column, &$variable, $type = \PDO::PARAM_STR, $length = null, $driverOptions = null)
{ {
return parent::bindParam($column, $variable, $type, $length, $driverOptions); return parent::bindParam($column, $variable, $type, $length, $driverOptions);
} }
......
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