Completed
Push — master ( 189ad5...73e21a )
by Jean-Christophe
04:04
created
Ajax/semantic/html/collections/HtmlGrid.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
 	private $_colSizing=true;
23 23
 	private $_implicitRows=false;
24 24
 
25
+	/**
26
+	 * @param string $identifier
27
+	 */
25 28
 	public function __construct($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false) {
26 29
 		parent::__construct($identifier, "div", "ui grid");
27 30
 		$this->_implicitRows=$implicitRows;
@@ -158,7 +161,7 @@  discard block
 block discarded – undo
158 161
 	/**
159 162
 	 * return the row at $index
160 163
 	 * @param int $index
161
-	 * @return \Ajax\semantic\html\collections\HtmlGridRow
164
+	 * @return \Ajax\common\html\HtmlDoubleElement
162 165
 	 */
163 166
 	public function getRow($index) {
164 167
 		return $this->getItem($index);
@@ -297,7 +300,7 @@  discard block
 block discarded – undo
297 300
 
298 301
 	/**
299 302
 	 * stretch the row contents to take up the entire column height
300
-	 * @return \Ajax\semantic\html\content\HtmlGridRow
303
+	 * @return HtmlGrid
301 304
 	 */
302 305
 	public function setStretched() {
303 306
 		return $this->addToProperty("class", "stretched");
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlLabel.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@  discard block
 block discarded – undo
11 11
 class HtmlLabel extends HtmlSemDoubleElement {
12 12
 	use LabeledIconTrait;
13 13
 
14
+	/**
15
+	 * @param string $icon
16
+	 */
14 17
 	public function __construct($identifier, $caption="", $icon=NULL, $tagName="div") {
15 18
 		parent::__construct($identifier, $tagName, "ui label");
16 19
 		$this->content=$caption;
@@ -20,7 +23,6 @@  discard block
 block discarded – undo
20 23
 
21 24
 	/**
22 25
 	 *
23
-	 * @param string $side
24 26
 	 * @return \Ajax\semantic\html\elements\HtmlLabel
25 27
 	 */
26 28
 	public function setPointing($value=Direction::NONE) {
Please login to merge, or discard this patch.
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,8 +14,9 @@  discard block
 block discarded – undo
14 14
 	public function __construct($identifier, $caption="", $icon=NULL, $tagName="div") {
15 15
 		parent::__construct($identifier, $tagName, "ui label");
16 16
 		$this->content=$caption;
17
-		if (isset($icon))
18
-			$this->addIcon($icon);
17
+		if (isset($icon)) {
18
+					$this->addIcon($icon);
19
+		}
19 20
 	}
20 21
 
21 22
 	/**
@@ -49,8 +50,9 @@  discard block
 block discarded – undo
49 50
 	 * @return \Ajax\semantic\html\elements\HtmlLabel
50 51
 	 */
51 52
 	public function asLink($href=NULL) {
52
-		if (isset($href))
53
-			$this->setProperty("href", $href);
53
+		if (isset($href)) {
54
+					$this->setProperty("href", $href);
55
+		}
54 56
 		return $this->setTagName("a");
55 57
 	}
56 58
 
Please login to merge, or discard this patch.