fixing typo that causes failing BehaviorCollection test

This commit is contained in:
Ceeram 2012-05-01 09:59:24 +02:00
parent 05abff6ecd
commit 1e28e2f895

View file

@ -276,7 +276,7 @@ class ModelValidator {
$methods[strtolower($method)] = array($this->_model, $method); $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)); $methods += array(strtolower($method) => array($this->_model, $method));
} }