mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
fixing typo that causes failing BehaviorCollection test
This commit is contained in:
parent
05abff6ecd
commit
1e28e2f895
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ class ModelValidator {
|
|||
$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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue