Completed
Push — master ( fdc0c0...9de830 )
by Jean-Christophe
03:31
created
Ajax/semantic/html/elements/HtmlButton.php 1 patch
Braces   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
 	}
54 54
 
55 55
 	public function setFocusable($value=true){
56
-		if($value===true)
57
-			$this->setProperty("tabindex", "0");
58
-		else{
56
+		if($value===true) {
57
+					$this->setProperty("tabindex", "0");
58
+		} else{
59 59
 			$this->removeProperty("tabindex");
60 60
 		}
61 61
 		return $this;
@@ -172,8 +172,9 @@  discard block
 block discarded – undo
172 172
 	}
173 173
 
174 174
 	public static function getSocial($identifier,$social,$value=NULL){
175
-		if($value===NULL)
176
-			$value=\ucfirst($social);
175
+		if($value===NULL) {
176
+					$value=\ucfirst($social);
177
+		}
177 178
 		$return=new HtmlButton($identifier,$value);
178 179
 		$return->addIcon($social);
179 180
 		return $return->addToPropertyCtrl("class", $social, Social::getConstants());
Please login to merge, or discard this patch.
Ajax/semantic/html/modules/HtmlAccordion.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,9 @@
 block discarded – undo
34 34
 	 * @see BaseHtml::run()
35 35
 	 */
36 36
 	public function run(JsUtils $js) {
37
-		if(isset($this->_bsComponent)===false)
38
-			$this->_bsComponent=$js->semantic()->accordion("#".$this->identifier,$this->params);
37
+		if(isset($this->_bsComponent)===false) {
38
+					$this->_bsComponent=$js->semantic()->accordion("#".$this->identifier,$this->params);
39
+		}
39 40
 			$this->addEventsOnRun($js);
40 41
 			return $this->_bsComponent;
41 42
 	}
Please login to merge, or discard this patch.