Completed
Push — master ( 19ac8a...195df7 )
by Jean-Christophe
03:23
created
Ajax/semantic/html/collections/HtmlMessage.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,10 +55,11 @@
 block discarded – undo
55 55
 	}
56 56
 
57 57
 	public function setDismissable($dismiss=true){
58
-		if($dismiss===true)
59
-			$this->close=new HtmlIcon("close-".$this->identifier, "close");
60
-		else
61
-			$this->close=NULL;
58
+		if($dismiss===true) {
59
+					$this->close=new HtmlIcon("close-".$this->identifier, "close");
60
+		} else {
61
+					$this->close=NULL;
62
+		}
62 63
 		return $this;
63 64
 	}
64 65
 
Please login to merge, or discard this patch.
Ajax/common/html/html5/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.