Completed
Push — master ( 69044f...263c12 )
by Jean-Christophe
05:24
created
Ajax/semantic/traits/SemanticHtmlViewsTrait.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
 	/**
23 23
 	 * @param string $identifier
24
-	 * @param array $items
25 24
 	 * @return HtmlCardGroups
26 25
 	 */
27 26
 	public function htmlCardGroups($identifier, $cards=array()) {
Please login to merge, or discard this patch.
Ajax/semantic/html/content/view/ContentPartTrait.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -7,6 +7,11 @@
 block discarded – undo
7 7
  * @property mixed $content
8 8
  */
9 9
 trait ContentPartTrait{
10
+
11
+	/**
12
+	 * @param \Ajax\semantic\html\elements\HtmlButtonGroups $element
13
+	 * @param string $partKey
14
+	 */
10 15
 	public function addElementInPart($element,$partKey,$before=false,$force=false){
11 16
 		$part=$this->getPart($partKey,null,$force);
12 17
 		if($part instanceof  HtmlSemDoubleElement){
Please login to merge, or discard this patch.
Ajax/semantic/html/content/view/HtmlViewContent.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@
 block discarded – undo
12 12
 
13 13
 class HtmlViewContent extends HtmlSemDoubleElement {
14 14
 	use ContentPartTrait;
15
+
16
+	/**
17
+	 * @param string $identifier
18
+	 */
15 19
 	public function __construct($identifier, $content=array()) {
16 20
 		parent::__construct($identifier, "div", "content",[]);
17 21
 		$this->setContent($content);
Please login to merge, or discard this patch.
Ajax/common/traits/JsUtilsActionsTrait.php 1 patch
Doc Comments   +10 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,6 +10,11 @@  discard block
 block discarded – undo
10 10
  */
11 11
 trait JsUtilsActionsTrait {
12 12
 
13
+	/**
14
+	 * @param string $element
15
+	 * @param string $js
16
+	 * @param string $event
17
+	 */
13 18
 	abstract public function _add_event($element, $js, $event, $preventDefault=false, $stopPropagation=false,$immediatly=true);
14 19
 	/**
15 20
 	 * show or hide with effect
@@ -34,7 +39,7 @@  discard block
 block discarded – undo
34 39
 	}
35 40
 	/**
36 41
 	 * Ensures the speed parameter is valid for jQuery
37
-	 * @param string|int $speed
42
+	 * @param string $speed
38 43
 	 * @return string
39 44
 	 */
40 45
 	private function _validate_speed($speed) {
@@ -363,7 +368,7 @@  discard block
 block discarded – undo
363 368
 	 *
364 369
 	 * @param string $element
365 370
 	 * @param array $options
366
-	 * @return void
371
+	 * @return string
367 372
 	 */
368 373
 	public function sortable($element, $options=array()) {
369 374
 		if (count($options)>0) {
@@ -434,7 +439,7 @@  discard block
 block discarded – undo
434 439
 	 * @param string $jqueryCall the JQuery callback
435 440
 	 * @param mixed $param array or string parameters
436 441
 	 * @param string $jsCallback javascript code to execute after the jquery call
437
-	 * @return mixed
442
+	 * @return string
438 443
 	 */
439 444
 	public function doJQuery($element, $jqueryCall, $param="", $jsCallback="") {
440 445
 		return $this->_doJQuery($element, $jqueryCall, $param, $jsCallback, true);
@@ -446,7 +451,7 @@  discard block
 block discarded – undo
446 451
 	 * @param string $jqueryCall the JQuery callback
447 452
 	 * @param mixed $param array or string parameters
448 453
 	 * @param string $jsCallback javascript code to execute after the jquery call
449
-	 * @return mixed
454
+	 * @return string
450 455
 	 */
451 456
 	public function doJQueryDeferred($element, $jqueryCall, $param="", $jsCallback="") {
452 457
 		return $this->_doJQuery($element, $jqueryCall, $param, $jsCallback, false);
@@ -458,7 +463,7 @@  discard block
 block discarded – undo
458 463
 	 * @param string $element
459 464
 	 * @param string $elementToModify
460 465
 	 * @param string $jqueryCall
461
-	 * @param string|array $param
466
+	 * @param string $param
462 467
 	 * @param boolean $preventDefault
463 468
 	 * @param boolean $stopPropagation
464 469
 	 * @param string $jsCallback javascript code to execute after the jquery call
Please login to merge, or discard this patch.