Skip to content

Commit

Permalink
minor code style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
bancer committed Sep 5, 2016
1 parent 98cd278 commit 427d928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Model/Datasource/Database/Mysql.php
Expand Up @@ -862,8 +862,8 @@ protected function _unsigned($real) {
*/
public function insertMulti($table, $fields, $values) {
$table = $this->fullTableName($table);
$holder = implode(',', array_fill(0, count($fields), '?'));
$fields = implode(', ', array_map(array(&$this, 'name'), $fields));
$holder = implode(', ', array_fill(0, count($fields), '?'));
$fields = implode(', ', array_map(array($this, 'name'), $fields));
$pdoMap = array(
'integer' => PDO::PARAM_INT,
'float' => PDO::PARAM_STR,
Expand Down

0 comments on commit 427d928

Please sign in to comment.