Completed
Push — master ( b569b1...d88325 )
by Jean-Christophe
03:46
created
Ajax/semantic/html/collections/menus/HtmlMenu.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	/**
32 32
 	 * Sets the menu type
33 33
 	 * @param string $type one of text,item
34
-	 * @return \Ajax\semantic\html\collections\HtmlMenu
34
+	 * @return HtmlMenu
35 35
 	 */
36 36
 	public function setType($type=""){
37 37
 		return $this->addToPropertyCtrl("class", $type, array("","item","text"));
@@ -73,6 +73,7 @@  discard block
 block discarded – undo
73 73
 	/**
74 74
 	 * {@inheritDoc}
75 75
 	 * @see \Ajax\common\html\HtmlCollection::insertItem()
76
+	 * @param HtmlIcon $item
76 77
 	 */
77 78
 	public function insertItem($item,$position=0){
78 79
 		$item=parent::insertItem($this->getItemToInsert($item),$position);
Please login to merge, or discard this patch.
Ajax/semantic/html/content/table/HtmlTableContent.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 	protected $_tabsType="tabs";
21 21
 	protected $stacked="";
22 22
 
23
+	/**
24
+	 * @param string $identifier
25
+	 */
23 26
 	public function __construct($identifier, $tagName="ul") {
24 27
 		parent::__construct($identifier, $tagName);
25 28
 		$this->_template="<%tagName% %properties%>%tabs%</%tagName%>%content%";
Please login to merge, or discard this patch.
Braces   +7 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,8 +10,9 @@  discard block
 block discarded – undo
10 10
 
11 11
 	public function __construct( $identifier,$tagName="tbody",$rowCount=NULL,$colCount=NULL){
12 12
 		parent::__construct( $identifier, $tagName, "");
13
-		if(isset($rowCount) && isset($colCount))
14
-			$this->setRowCount($rowCount, $colCount);
13
+		if(isset($rowCount) && isset($colCount)) {
14
+					$this->setRowCount($rowCount, $colCount);
15
+		}
15 16
 	}
16 17
 
17 18
 	public function setRowCount($rowCount,$colCount){
@@ -79,8 +80,9 @@  discard block
 block discarded – undo
79 80
 
80 81
 	public function getColCount(){
81 82
 		$result=0;
82
-		if($this->count()>0)
83
-			$result=$this->getItem(0)->getColCount();
83
+		if($this->count()>0) {
84
+					$result=$this->getItem(0)->getColCount();
85
+		}
84 86
 		return $result;
85 87
 	}
86 88
 
@@ -90,7 +92,7 @@  discard block
 block discarded – undo
90 92
 			if(isset($row)===true){
91 93
 				$row->delete($colIndex);
92 94
 			}
93
-		}else{
95
+		} else{
94 96
 			$this->removeItem($rowIndex);
95 97
 		}
96 98
 		return $this;
Please login to merge, or discard this patch.
Ajax/semantic/html/content/table/HtmlTR.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@  discard block
 block discarded – undo
10 10
 	private $_container;
11 11
 	private $_row;
12 12
 
13
+	/**
14
+	 * @param string $identifier
15
+	 */
13 16
 	public function __construct( $identifier, $colCount){
14 17
 		parent::__construct( $identifier, "tr", "");
15 18
 	}
@@ -35,6 +38,9 @@  discard block
 block discarded – undo
35 38
 		$this->_tdTagName=$tagName;
36 39
 	}
37 40
 
41
+	/**
42
+	 * @param HtmlTableContent $container
43
+	 */
38 44
 	public function setContainer($container,$row){
39 45
 		$this->_container=$container;
40 46
 		$this->_row=$row;
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlLabel.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,6 +10,10 @@  discard block
 block discarded – undo
10 10
 
11 11
 class HtmlLabel extends HtmlSemDoubleElement {
12 12
 	use LabeledIconTrait;
13
+
14
+	/**
15
+	 * @param string $icon
16
+	 */
13 17
 	public function __construct($identifier,$caption="",$icon=NULL,$tagName="div") {
14 18
 		parent::__construct($identifier,$tagName,"ui label");
15 19
 		$this->content=$caption;
@@ -18,7 +22,6 @@  discard block
 block discarded – undo
18 22
 	}
19 23
 
20 24
 	/**
21
-	 * @param string $side
22 25
 	 * @return \Ajax\semantic\html\elements\HtmlLabel
23 26
 	 */
24 27
 	public function setPointing($value=Direction::NONE){
Please login to merge, or discard this patch.