Completed
Push — master ( db82f0...0ba4b1 )
by Jean-Christophe
03:22
created
Ajax/common/BaseEnum.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
 	}
25 25
 
26 26
 	public static function getConstantValues($postFix=""){
27
-		if($postFix!=="")
28
-			return \array_values(self::getConstants());
29
-		else{
27
+		if($postFix!=="") {
28
+					return \array_values(self::getConstants());
29
+		} else{
30 30
 			return \array_map(function ($elem) use ($postFix) {return $elem." ".$postFix;},\array_values(self::getConstants()));
31 31
 		}
32 32
 	}
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlInput.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,8 @@
 block discarded – undo
11 11
 		parent::__construct("div-".$identifier,"div","ui input");
12 12
 		$this->content=new \Ajax\common\html\html5\HtmlInput($identifier,$type);
13 13
 		$this->content->setProperty("value", $value);
14
-		if(JString::isNotNull($placeholder))
15
-			$this->content->setProperty("placeholder", $placeholder);
14
+		if(JString::isNotNull($placeholder)) {
15
+					$this->content->setProperty("placeholder", $placeholder);
16
+		}
16 17
 	}
17 18
 }
18 19
\ No newline at end of file
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlImage.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,9 @@
 block discarded – undo
19 19
 	}
20 20
 
21 21
 	public function asAvatar($caption=NULL){
22
-		if(isset($caption))
23
-			$this->wrap("",$caption);
22
+		if(isset($caption)) {
23
+					$this->wrap("",$caption);
24
+		}
24 25
 		return $this->addToProperty("class", "avatar");
25 26
 	}
26 27
 }
27 28
\ No newline at end of file
Please login to merge, or discard this patch.