Passed
Push — master ( 42337f...468e47 )
by Jean-Christophe
02:24
created
Ajax/semantic/html/elements/html5/HtmlDatalist.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,20 +5,20 @@
 block discarded – undo
5 5
 use Ajax\common\html\HtmlDoubleElement;
6 6
 use Ajax\common\html\HtmlCollection;
7 7
 
8
-class HtmlDatalist extends HtmlCollection{
8
+class HtmlDatalist extends HtmlCollection {
9 9
 	
10
-	public function __construct($identifier){
11
-		parent::__construct($identifier,"datalist");
10
+	public function __construct($identifier) {
11
+		parent::__construct($identifier, "datalist");
12 12
 	}
13 13
 	
14 14
 	protected function createItem($value) {
15
-		$elm= new HtmlDoubleElement("","option");
15
+		$elm=new HtmlDoubleElement("", "option");
16 16
 		$elm->setProperty("value", $value->getContent());
17 17
 		$elm->setContent($value);
18 18
 		return $elm;
19 19
 	}
20 20
 	
21
-	protected function createCondition($value){
21
+	protected function createCondition($value) {
22 22
 		return true;
23 23
 	}
24 24
 }
Please login to merge, or discard this patch.