Completed
Push — master ( 9e5b24...8af853 )
by Jean-Christophe
08:21
created
Ajax/semantic/html/collections/HtmlGrid.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,9 @@
 block discarded – undo
61 61
 	}
62 62
 
63 63
 	protected function createItem($value){
64
-		if($this->_createCols===false)
65
-			$value=null;
64
+		if($this->_createCols===false) {
65
+					$value=null;
66
+		}
66 67
 		$item=new HtmlGridRow($this->identifier."-row-".($this->count()+1),$value,$this->_colSizing);
67 68
 		return $item;
68 69
 	}
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlGridCol.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,9 @@
 block discarded – undo
9 9
 	public function __construct($identifier,$width){
10 10
 		parent::__construct($identifier,"div");
11 11
 		$this->setClass("column");
12
-		if(isset($width))
13
-			$this->setWidth($width);
12
+		if(isset($width)) {
13
+					$this->setWidth($width);
14
+		}
14 15
 	}
15 16
 
16 17
 	public function setWidth($width){
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlGridRow.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,10 +14,11 @@
 block discarded – undo
14 14
 		if(isset($numCols)){
15 15
 			$numCols=min(16,$numCols);
16 16
 			$numCols=max(1,$numCols);
17
-			if($colSizing)
18
-				$width=(int)(16/$numCols);
19
-			else
20
-				$this->_colSize=16/$numCols;
17
+			if($colSizing) {
18
+							$width=(int)(16/$numCols);
19
+			} else {
20
+							$this->_colSize=16/$numCols;
21
+			}
21 22
 			for ($i=0;$i<$numCols;$i++){
22 23
 				$this->addItem($width);
23 24
 			}
Please login to merge, or discard this patch.
Ajax/common/html/HtmlCollection.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,9 +45,9 @@
 block discarded – undo
45 45
 	 * @return \Ajax\common\html\HtmlDoubleElement
46 46
 	 */
47 47
 	public function getItem($index) {
48
-		if (is_int($index))
49
-			return $this->content[$index];
50
-		else {
48
+		if (is_int($index)) {
49
+					return $this->content[$index];
50
+		} else {
51 51
 			$elm=$this->getElementById($index, $this->content);
52 52
 			return $elm;
53 53
 		}
Please login to merge, or discard this patch.