Completed
Push — master ( 2affe6...aa2804 )
by Jean-Christophe
03:17
created
Ajax/common/html/HtmlCollection.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@  discard block
 block discarded – undo
87 87
 		$this->addItem($function($object));
88 88
 	}
89 89
 
90
+	/**
91
+	 * @param \Closure $callBack
92
+	 */
90 93
 	public function apply($callBack){
91 94
 		foreach ($this->content as $item){
92 95
 			$callBack($item);
@@ -102,7 +105,7 @@  discard block
 block discarded – undo
102 105
 	}
103 106
 	/**
104 107
 	 * The item factory
105
-	 * @param string|HtmlDoubleElement $value
108
+	 * @param string $value
106 109
 	 */
107 110
 	protected abstract function createItem($value);
108 111
 
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlList.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
 		if(\is_array($value)){
20 20
 			$item=new HtmlListItem("item-".$this->identifier."-".$count, $value[0]);
21 21
 			$item->addIcon($value[1]);
22
-		}else
23
-			$item= new HtmlListItem("item-".$this->identifier."-".$count, $value);
22
+		} else {
23
+					$item= new HtmlListItem("item-".$this->identifier."-".$count, $value);
24
+		}
24 25
 		return $item;
25 26
 	}
26 27
 
Please login to merge, or discard this patch.