| @@ -514,7 +514,7 @@ discard block | ||
| 514 | 514 |  		foreach ($classes as $class) { | 
| 515 | 515 |  			if (isset(self::$_um[$class])) { | 
| 516 | 516 |  				foreach (self::$_um[$class] as $name => $behavior) { | 
| 517 | -					if(is_numeric($name)) { | |
| 517 | +					if (is_numeric($name)) { | |
| 518 | 518 | continue; | 
| 519 | 519 | } | 
| 520 | 520 |  					if (!array_key_exists($name, $classBehaviors)) { | 
| @@ -789,7 +789,7 @@ discard block | ||
| 789 | 789 | } | 
| 790 | 790 | |
| 791 | 791 |  		if (isset(self::$_um[$lclass = strtolower(static::class)])) { | 
| 792 | -			foreach(self::$_um[$lclass] as $pbehavior) { | |
| 792 | +			foreach (self::$_um[$lclass] as $pbehavior) { | |
| 793 | 793 | $class = $behavior = $pbehavior->getBehavior(); | 
| 794 | 794 |  				if (is_array($behavior)) { | 
| 795 | 795 | $class = $behavior['class']; | 
| @@ -1454,7 +1454,7 @@ discard block | ||
| 1454 | 1454 | $name = strtolower($name); | 
| 1455 | 1455 | $responses = []; | 
| 1456 | 1456 | |
| 1457 | -		if($param instanceof IEventParameter) { | |
| 1457 | +		if ($param instanceof IEventParameter) { | |
| 1458 | 1458 | $param->setEventName($name); | 
| 1459 | 1459 | } | 
| 1460 | 1460 | |
| @@ -1818,7 +1818,7 @@ discard block | ||
| 1818 | 1818 | $behaviorObject->setName($name); | 
| 1819 | 1819 | $isClassBehavior = $behaviorObject instanceof IClassBehavior; | 
| 1820 | 1820 | unset(self::$_um[$class][$name]); | 
| 1821 | -		if(empty(self::$_um[$class])) { | |
| 1821 | +		if (empty(self::$_um[$class])) { | |
| 1822 | 1822 | unset(self::$_um[$class]); | 
| 1823 | 1823 | } | 
| 1824 | 1824 |  		$results = $behaviorObject->raiseEvent('fxDetachClassBehavior', null, $param); | 
| @@ -1840,7 +1840,7 @@ discard block | ||
| 1840 | 1840 | return $this->_m[$behaviorname]; | 
| 1841 | 1841 | } | 
| 1842 | 1842 |  		if ((class_exists($behaviorname, false) || interface_exists($behaviorname, false)) && $this->_m) { | 
| 1843 | -			foreach($this->_m->toArray() as $behavior) { | |
| 1843 | +			foreach ($this->_m->toArray() as $behavior) { | |
| 1844 | 1844 |  				if ($behavior instanceof $behaviorname) { | 
| 1845 | 1845 | return $behavior; | 
| 1846 | 1846 | } |