Completed
Push — master ( 8af853...e6529d )
by Jean-Christophe
03:39
created
Ajax/semantic/html/collections/HtmlGrid.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,8 +101,9 @@  discard block
 block discarded – undo
101 101
 	 * @return \Ajax\semantic\html\collections\HtmlGrid
102 102
 	 */
103 103
 	public function setPadded($value=NULL){
104
-		if(isset($value))
105
-			$this->addToPropertyCtrl("class", $value,array("vertically","horizontally"));
104
+		if(isset($value)) {
105
+					$this->addToPropertyCtrl("class", $value,array("vertically","horizontally"));
106
+		}
106 107
 		return $this->addToProperty("class", "padded");
107 108
 	}
108 109
 
@@ -124,8 +125,9 @@  discard block
 block discarded – undo
124 125
 	 * @see \Ajax\common\html\HtmlCollection::createItem()
125 126
 	 */
126 127
 	protected function createItem($value){
127
-		if($this->_createCols===false)
128
-			$value=null;
128
+		if($this->_createCols===false) {
129
+					$value=null;
130
+		}
129 131
 		$item=new HtmlGridRow($this->identifier."-row-".($this->count()+1),$value,$this->_colSizing);
130 132
 		return $item;
131 133
 	}
Please login to merge, or discard this patch.