Skip to content
Permalink
Browse files

using correct method visibility for traverseExpressions()

  • Loading branch information...
lorenzo committed Mar 7, 2013
1 parent 462cfc5 commit cb306bddbd5d8c0b64139e0b3499fe0408efb09e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Datasource/Database/Query.php
@@ -1464,7 +1464,7 @@ protected function _bindParams($statement) {
* found inside this query.
* @return Query
*/
protected function traverseExpressions(callable $callback) {
public function traverseExpressions(callable $callback) {
$refs = [];
$visitor = function($expression) use (&$visitor, &$refs, $callback) {
if (is_array($expression)) {

0 comments on commit cb306bd

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