Skip to content
Permalink
Browse files

Renaming functions to better express its purpose

  • Loading branch information...
lorenzo committed Jun 10, 2013
1 parent 655704b commit 536d2cb6be2bd0db7bd261aff074f5f67f47a369
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Database/Expression/QueryExpression.php
@@ -597,7 +597,7 @@ protected function _replaceArrays() {
continue;
}
$token = ':' . $b['placeholder'];
$replacements[$token] = $this->_makeMultiplePlaceholders(
$replacements[$token] = $this->_bindMultiplePlaceholders(
$b['placeholder'],
$b['value'],
$b['type']
@@ -623,7 +623,7 @@ protected function _replaceArrays() {
* @param string $type the type to be used to bind the values
* @return array
*/
protected function _makeMultiplePlaceholders($field, $values, $type) {
protected function _bindMultiplePlaceholders($field, $values, $type) {
$type = str_replace('[]', '', $type);
$params = [];
foreach ($values as $value) {

0 comments on commit 536d2cb

Please sign in to comment.
You can’t perform that action at this time.