Skip to content

Commit

Permalink
fixing typo that causes failing BehaviorCollection test
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed May 1, 2012
1 parent 05abff6 commit 1e28e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/ModelValidator.php
Expand Up @@ -276,7 +276,7 @@ public function getMethods() {
$methods[strtolower($method)] = array($this->_model, $method);
}

foreach (array_keys($this->_model->Behaviors->methods()) as $mthod) {
foreach (array_keys($this->_model->Behaviors->methods()) as $method) {
$methods += array(strtolower($method) => array($this->_model, $method));
}

Expand Down

0 comments on commit 1e28e2f

Please sign in to comment.