Skip to content

Commit

Permalink
using correct method visibility for traverseExpressions()
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Mar 7, 2013
1 parent 462cfc5 commit cb306bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Datasource/Database/Query.php
Expand Up @@ -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)) {
Expand Down

0 comments on commit cb306bd

Please sign in to comment.