Completed
Push — master ( d88325...fa0c00 )
by Jean-Christophe
03:31
created
Ajax/common/html/PropertyWrapper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class PropertyWrapper {
9 9
 
10
+	/**
11
+	 * @param \Ajax\JsUtils $js
12
+	 */
10 13
 	public static function wrap($input, $js=NULL, $separator=' ', $valueQuote='"') {
11 14
 		$output="";
12 15
 		if (is_string($input)) {
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlButton.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	/**
35 35
 	 * Set the button value
36 36
 	 * @param string $value
37
-	 * @return \Ajax\semantic\html\HtmlButton
37
+	 * @return HtmlButton
38 38
 	 */
39 39
 	public function setValue($value) {
40 40
 		$this->content=$value;
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
 
44 44
 	/**
45 45
 	 * define the button style
46
-	 * @param string|int $cssStyle
47
-	 * @return \Ajax\semantic\html\HtmlButton default : ""
46
+	 * @param string $cssStyle
47
+	 * @return HtmlButton default : ""
48 48
 	 */
49 49
 	public function setStyle($cssStyle) {
50 50
 		return $this->addToProperty("class",$cssStyle);
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	}
88 88
 
89 89
 	/**
90
-	 * @param string|HtmlIcon $icon
90
+	 * @param string $icon
91 91
 	 * @return \Ajax\semantic\html\elements\HtmlButton
92 92
 	 */
93 93
 	public function asIcon($icon){
Please login to merge, or discard this patch.
Ajax/semantic/html/base/traits/AttachedTrait.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/semantic/html/elements/HtmlDivider.php 1 patch
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.
Ajax/semantic/html/content/HtmlDropdownItem.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -11,6 +11,10 @@  discard block
 block discarded – undo
11 11
 
12 12
 class HtmlDropdownItem extends HtmlSemDoubleElement {
13 13
 	use IconTrait;
14
+
15
+	/**
16
+	 * @param string $identifier
17
+	 */
14 18
 	public function __construct($identifier, $content="",$value=NULL,$image=NULL) {
15 19
 		parent::__construct($identifier, "a");
16 20
 		$this->setClass("item");
@@ -61,6 +65,9 @@  discard block
 block discarded – undo
61 65
 		return $this;
62 66
 	}
63 67
 
68
+	/**
69
+	 * @param string $content
70
+	 */
64 71
 	public function setContent($content){
65 72
 		if($content==="-"){
66 73
 			$this->asDivider();
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/menus/HtmlAccordionMenu.php 1 patch
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.
Ajax/semantic/html/modules/HtmlAccordion.php 1 patch
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.
Ajax/semantic/html/collections/form/HtmlFormFields.php 1 patch
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.
Ajax/Jquery.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 	 *
208 208
 	 * @param string $element
209 209
 	 * @param array $options
210
-	 * @return void
210
+	 * @return string
211 211
 	 */
212 212
 	public function sortable($element, $options=array()) {
213 213
 		if (count($options)>0) {
@@ -351,6 +351,7 @@  discard block
 block discarded – undo
351 351
 	/**
352 352
 	 * A wrapper for writing document.ready()
353 353
 	 *
354
+	 * @param string $js
354 355
 	 * @return string
355 356
 	 */
356 357
 	public function _document_ready($js) {
@@ -420,6 +421,9 @@  discard block
 block discarded – undo
420 421
 		return $speed;
421 422
 	}
422 423
 
424
+	/**
425
+	 * @param string $input
426
+	 */
423 427
 	private function minify($input) {
424 428
 	if(trim($input) === "") return $input;
425 429
 	return preg_replace(
Please login to merge, or discard this patch.