Completed
Push — master ( 694cc2...8f668c )
by Jean-Christophe
04:12
created
Ajax/bootstrap/html/base/HtmlSingleElement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 	}
14 14
 
15 15
 	public function setClass($classNames) {
16
-		if(is_array($classNames)){
16
+		if (is_array($classNames)) {
17 17
 			$classNames=implode(" ", $classNames);
18 18
 		}
19 19
 		$this->setProperty("class", $classNames);
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 	 */
41 41
 	public function fromArray($array) {
42 42
 		$array=parent::fromArray($array);
43
-		foreach ( $array as $key => $value ) {
43
+		foreach ($array as $key => $value) {
44 44
 			$this->setProperty($key, $value);
45 45
 		}
46 46
 		return $array;
Please login to merge, or discard this patch.