Completed
Push — master ( 5b3666...b3a3fe )
by Jean-Christophe
04:35
created
Ajax/semantic/html/elements/HtmlButton.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	/**
39 39
 	 * Set the button value
40 40
 	 * @param string $value
41
-	 * @return \Ajax\semantic\html\HtmlButton
41
+	 * @return HtmlButton
42 42
 	 */
43 43
 	public function setValue($value) {
44 44
 		$this->content=$value;
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
 
48 48
 	/**
49 49
 	 * define the button style
50
-	 * @param string|int $cssStyle
51
-	 * @return \Ajax\semantic\html\HtmlButton default : ""
50
+	 * @param string $cssStyle
51
+	 * @return HtmlButton default : ""
52 52
 	 */
53 53
 	public function setStyle($cssStyle) {
54 54
 		return $this->addToProperty("class", $cssStyle);
@@ -98,7 +98,6 @@  discard block
 block discarded – undo
98 98
 
99 99
 	/**
100 100
 	 * Add and return a button label
101
-	 * @param string $caption
102 101
 	 * @param string $before
103 102
 	 * @param string $icon
104 103
 	 * @return \Ajax\semantic\html\elements\HtmlLabel
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlLabel.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/ui/components/Autocomplete.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 	 * Identifies the position of the suggestions menu in relation to the associated input element.
106 106
 	 * The of option defaults to the input element, but you can specify another element to position against.
107 107
 	 * You can refer to the jQuery UI Position utility for more details about the various options.
108
-	 * @param int $position default : { my: "left top", at: "left bottom", collision: "none" }
108
+	 * @param Position $position default : { my: "left top", at: "left bottom", collision: "none" }
109 109
 	 * @return $this
110 110
 	 */
111 111
 	public function setPosition(Position $position) {
Please login to merge, or discard this patch.
Ajax/semantic/html/modules/HtmlAccordion.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
 
11 11
 	protected $params=array();
12 12
 
13
+	/**
14
+	 * @param string $identifier
15
+	 */
13 16
 	public function __construct( $identifier, $tagName="div", $baseClass="ui"){
14 17
 		parent::__construct( $identifier, "div", "ui accordion");
15 18
 	}
@@ -29,6 +32,9 @@  discard block
 block discarded – undo
29 32
 		return ($value instanceof HtmlAccordionItem)===false;
30 33
 	}
31 34
 
35
+	/**
36
+	 * @param string $title
37
+	 */
32 38
 	public function addPanel($title,$content){
33 39
 		return $this->addItem([$title,$content]);
34 40
 	}
Please login to merge, or discard this patch.
Ajax/php/yii/URI.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -429,7 +429,7 @@
 block discarded – undo
429 429
 	 *
430 430
 	 * @access public
431 431
 	 * @param array an associative array of key/values
432
-	 * @return array
432
+	 * @return string
433 433
 	 *
434 434
 	 */
435 435
 	function assoc_to_uri($array) {
Please login to merge, or discard this patch.
Ajax/bootstrap/html/HtmlAccordion.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
 
11 11
 	protected $params=array();
12 12
 
13
+	/**
14
+	 * @param string $identifier
15
+	 */
13 16
 	public function __construct( $identifier, $tagName="div", $baseClass="ui"){
14 17
 		parent::__construct( $identifier, "div", "ui accordion");
15 18
 	}
@@ -29,6 +32,9 @@  discard block
 block discarded – undo
29 32
 		return ($value instanceof HtmlAccordionItem)===false;
30 33
 	}
31 34
 
35
+	/**
36
+	 * @param string $title
37
+	 */
32 38
 	public function addPanel($title,$content){
33 39
 		return $this->addItem([$title,$content]);
34 40
 	}
Please login to merge, or discard this patch.
Ajax/bootstrap/html/HtmlModal.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,6 @@  discard block
 block discarded – undo
121 121
 	/**
122 122
 	 * render the content of $controller::$action and set the response to the modal content
123 123
 	 * @param JsUtils $js
124
-	 * @param string $title The panel title
125 124
 	 * @param Controller $initialControllerInstance
126 125
 	 * @param string $controllerName the controller name
127 126
 	 * @param string $actionName the action name
@@ -198,7 +197,7 @@  discard block
 block discarded – undo
198 197
 	 * Includes a modal-backdrop element.
199 198
 	 * Alternatively, specify static for a backdrop which doesn't close the modal on click.
200 199
 	 * @param Boolean $value default : true
201
-	 * @return HtmlModal
200
+	 * @return boolean
202 201
 	 */
203 202
 	public function setBackdrop($value) {
204 203
 		return $this->backdrop=$value;
Please login to merge, or discard this patch.
Ajax/semantic/html/modules/HtmlModal.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@  discard block
 block discarded – undo
14 14
 	protected $_params=array();
15 15
 	protected $_paramParts=array();
16 16
 
17
+	/**
18
+	 * @param string $identifier
19
+	 */
17 20
 	public function __construct($identifier, $header="", $content="", $actions=array()) {
18 21
 		parent::__construct($identifier, "div","ui modal");
19 22
 		if(isset($header)){
@@ -27,6 +30,9 @@  discard block
 block discarded – undo
27 30
 		}
28 31
 	}
29 32
 
33
+	/**
34
+	 * @param string $value
35
+	 */
30 36
 	public function setHeader($value) {
31 37
 		$this->content["header"]=new HtmlSemDoubleElement("header-" . $this->identifier, "a", "header", $value);
32 38
 		return $this;
@@ -103,6 +109,9 @@  discard block
 block discarded – undo
103 109
 		return $this->addElementInPart(new HtmlSemDoubleElement($part."-" . $this->identifier, "div", $uiClass, $content), $part);
104 110
 	}
105 111
 
112
+	/**
113
+	 * @param BaseHtml $element
114
+	 */
106 115
 	private function addElementInPart($element,$part) {
107 116
 		$this->content[$part]->addContent($element);
108 117
 		return $element;
@@ -141,7 +150,6 @@  discard block
 block discarded – undo
141 150
 	/**
142 151
 	 * render the content of $controller::$action and set the response to the modal content
143 152
 	 * @param JsUtils $js
144
-	 * @param string $title The panel title
145 153
 	 * @param Controller $initialControllerInstance
146 154
 	 * @param string $controllerName the controller name
147 155
 	 * @param string $actionName the action name
Please login to merge, or discard this patch.
Ajax/semantic/traits/SemanticComponentsTrait.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@  discard block
 block discarded – undo
59 59
 		return $this->addComponent(new Accordion($this->js), $attachTo, $params);
60 60
 	}
61 61
 
62
+	/**
63
+	 * @param string $attachTo
64
+	 */
62 65
 	public function sticky($attachTo=NULL, $params=NULL) {
63 66
 		return $this->addComponent(new Sticky($this->js), $attachTo, $params);
64 67
 	}
@@ -67,22 +70,37 @@  discard block
 block discarded – undo
67 70
 		return $this->addComponent(new Checkbox($this->js), $attachTo, $params);
68 71
 	}
69 72
 
73
+	/**
74
+	 * @param string $attachTo
75
+	 */
70 76
 	public function rating($attachTo=NULL, $params=NULL) {
71 77
 		return $this->addComponent(new Rating($this->js), $attachTo, $params);
72 78
 	}
73 79
 
80
+	/**
81
+	 * @param string $attachTo
82
+	 */
74 83
 	public function progress($attachTo=NULL, $params=NULL) {
75 84
 		return $this->addComponent(new Progress($this->js), $attachTo, $params);
76 85
 	}
77 86
 
87
+	/**
88
+	 * @param string $attachTo
89
+	 */
78 90
 	public function search($attachTo=NULL, $params=NULL) {
79 91
 		return $this->addComponent(new Search($this->js), $attachTo, $params);
80 92
 	}
81 93
 
94
+	/**
95
+	 * @param string $attachTo
96
+	 */
82 97
 	public function dimmer($attachTo=NULL, $params=NULL) {
83 98
 		return $this->addComponent(new Dimmer($this->js), $attachTo, $params);
84 99
 	}
85 100
 
101
+	/**
102
+	 * @param string $attachTo
103
+	 */
86 104
 	public function modal($attachTo=NULL, $params=NULL,$paramsParts=NULL) {
87 105
 		$result= $this->addComponent(new Modal($this->js), $attachTo, $params);
88 106
 		$result->setParamParts($paramsParts);
Please login to merge, or discard this patch.