@@ -513,7 +513,7 @@ discard block |
||
513 | 513 | foreach ($classes as $class) { |
514 | 514 | if (isset(self::$_um[$class])) { |
515 | 515 | foreach (self::$_um[$class] as $name => $behavior) { |
516 | - if(is_numeric($name)) { |
|
516 | + if (is_numeric($name)) { |
|
517 | 517 | continue; |
518 | 518 | } |
519 | 519 | if (!array_key_exists($name, $classBehaviors)) { |
@@ -1752,7 +1752,7 @@ discard block |
||
1752 | 1752 | $behaviorObject->setName($name); |
1753 | 1753 | $isClassBehavior = $behaviorObject instanceof IClassBehavior; |
1754 | 1754 | unset(self::$_um[$class][$name]); |
1755 | - if(empty(self::$_um[$class])) { |
|
1755 | + if (empty(self::$_um[$class])) { |
|
1756 | 1756 | unset(self::$_um[$class]); |
1757 | 1757 | } |
1758 | 1758 | $results = $behaviorObject->raiseEvent('fxDetachClassBehavior', null, $param); |