Passed
Push — master ( cfbd49...23bc0e )
by Fabio
15:35 queued 09:33
created
framework/TComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.