mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Removing more strtolower loops.
This commit is contained in:
parent
b7310afddf
commit
3ae1501fd0
1 changed files with 0 additions and 4 deletions
|
@ -418,10 +418,6 @@ class BehaviorCollection extends Object {
|
|||
*/
|
||||
public function dispatchMethod(&$model, $method, $params = array(), $strict = false) {
|
||||
$methods = array_keys($this->__methods);
|
||||
foreach ($methods as $key => $value) {
|
||||
$methods[$key] = strtolower($value);
|
||||
}
|
||||
$method = strtolower($method);
|
||||
$check = array_flip($methods);
|
||||
$found = isset($check[$method]);
|
||||
$call = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue