Completed
Push — master ( db82f0...0ba4b1 )
by Jean-Christophe
03:22
created
Ajax/Semantic.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,12 +36,15 @@  discard block
 block discarded – undo
36 36
 	 *
37 37
 	 * @param string $attachTo
38 38
 	 * @param string|array $params
39
-	 * @return $this
39
+	 * @return common\components\SimpleComponent
40 40
 	 */
41 41
 	public function popup($attachTo=NULL, $params=NULL) {
42 42
 		return $this->addComponent(new Popup($this->js), $attachTo, $params);
43 43
 	}
44 44
 
45
+	/**
46
+	 * @param string $attachTo
47
+	 */
45 48
 	public function dropdown($attachTo=NULL, $params=NULL) {
46 49
 		return $this->addComponent(new Dropdown($this->js), $attachTo, $params);
47 50
 	}
@@ -201,7 +204,7 @@  discard block
 block discarded – undo
201 204
 
202 205
 	/**
203 206
 	 * @param string $identifier
204
-	 * @param number $niveau
207
+	 * @param integer $niveau
205 208
 	 * @param mixed $content
206 209
 	 * @param string $type
207 210
 	 */
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/AttachedTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use Ajax\semantic\html\base\constants\Side;
5 5
 trait AttachedTrait {
6 6
 	/**
7
-	 * @param string $side
8 7
 	 * @return \Ajax\semantic\html\base\HtmlSemDoubleElement
9 8
 	 */
10 9
 	public function setAttachment($value=Side::BOTH){
Please login to merge, or discard this patch.
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.