Completed
Push — master ( 2aad8b...141d55 )
by Jean-Christophe
03:21
created
Ajax/semantic/html/content/HtmlShapeItem.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@
 block discarded – undo
5 5
 
6 6
 class HtmlShapeItem extends HtmlSemDoubleElement {
7 7
 	public function __construct($identifier, $content) {
8
-		parent::__construct($identifier,"div","side",$content);
8
+		parent::__construct($identifier, "div", "side", $content);
9 9
 	}
10 10
 
11
-	public function setActive($value=true){
12
-		if($value){
11
+	public function setActive($value=true) {
12
+		if ($value) {
13 13
 			$this->addToPropertyCtrl("class", "active", ["active"]);
14
-		}else{
14
+		} else {
15 15
 			$this->removePropertyValue("class", "active");
16 16
 		}
17 17
 		return $this;
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 		$viewVars=$view->viewVars;
14 14
 		if (isset($viewVars["q"]) === false) {
15 15
 			$controls=array ();
16
-		}else{
16
+		} else{
17 17
 			$controls=$viewVars["q"];
18 18
 		}
19 19
 		$controls[$identifier]=$content;
Please login to merge, or discard this patch.
Ajax/semantic/traits/SemanticComponentsTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -126,8 +126,8 @@  discard block
 block discarded – undo
126 126
 	 * @param string|array $params
127 127
 	 * @return Modal
128 128
 	 */
129
-	public function modal($attachTo=NULL, $params=NULL,$paramsParts=NULL) {
130
-		$result= $this->addComponent(new Modal($this->js), $attachTo, $params);
129
+	public function modal($attachTo=NULL, $params=NULL, $paramsParts=NULL) {
130
+		$result=$this->addComponent(new Modal($this->js), $attachTo, $params);
131 131
 		$result->setParamParts($paramsParts);
132 132
 		return $result;
133 133
 	}
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	 * @return Tab
139 139
 	 */
140 140
 	public function tab($attachTo=NULL, $params=NULL) {
141
-		$result= $this->addComponent(new Tab($this->js), $attachTo, $params);
141
+		$result=$this->addComponent(new Tab($this->js), $attachTo, $params);
142 142
 		return $result;
143 143
 	}
144 144
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 	 * @return Shape
149 149
 	 */
150 150
 	public function shape($attachTo=NULL, $params=NULL) {
151
-		$result= $this->addComponent(new Shape($this->js), $attachTo, $params);
151
+		$result=$this->addComponent(new Shape($this->js), $attachTo, $params);
152 152
 		return $result;
153 153
 	}
154 154
 }
155 155
\ No newline at end of file
Please login to merge, or discard this patch.