Conditions | 3 |
Paths | 3 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
78 | protected function bindParameters( |
||
79 | \PDOStatement $stmt, |
||
80 | array $parameters |
||
81 | )/*# : bool */ { |
||
82 | foreach ($parameters as $name => &$value) { |
||
83 | $type = Types::guessType($value); |
||
84 | $param = $this->fixParam($name); |
||
85 | if (false === $stmt->bindParam($param, $value, $type)) { |
||
86 | return false; |
||
87 | } |
||
88 | } |
||
89 | return true; |
||
90 | } |
||
91 | |||
106 |