Completed
Push — master ( ab9bf6...aac371 )
by Jean-Christophe
03:31
created
Ajax/common/traits/JqueryEventsTrait.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -3,7 +3,16 @@
 block discarded – undo
3 3
 namespace Ajax\common\traits;
4 4
 
5 5
 trait JqueryEventsTrait {
6
+
7
+	/**
8
+	 * @param string $element
9
+	 */
6 10
 	public abstract function _prep_element($element);
11
+
12
+	/**
13
+	 * @param string $element
14
+	 * @param string $event
15
+	 */
7 16
 	public abstract function _add_event($element, $js, $event, $preventDefault=false, $stopPropagation=false,$immediatly=true);
8 17
 
9 18
 	/**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 trait JqueryEventsTrait {
6 6
 	public abstract function _prep_element($element);
7
-	public abstract function _add_event($element, $js, $event, $preventDefault=false, $stopPropagation=false,$immediatly=true);
7
+	public abstract function _add_event($element, $js, $event, $preventDefault=false, $stopPropagation=false, $immediatly=true);
8 8
 
9 9
 	/**
10 10
 	 * Blur
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 */
47 47
 	public function _click($element='this', $js=array(), $ret_false=TRUE) {
48 48
 		if (!is_array($js)) {
49
-			$js=array (
49
+			$js=array(
50 50
 					$js
51 51
 			);
52 52
 		}
Please login to merge, or discard this patch.
Ajax/bootstrap/traits/BootstrapComponentsTrait.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 
17 17
 trait BootstrapComponentsTrait {
18 18
 
19
+	/**
20
+	 * @param string|null $attachTo
21
+	 */
19 22
 	public abstract function addComponent(SimpleComponent $component, $attachTo, $params);
20 23
 	/**
21 24
 	 *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Ajax\bootstrap\components\Tab;
12 12
 use Ajax\bootstrap\components\Carousel;
13 13
 use Ajax\bootstrap\components\Collapse;
14
-use Ajax\Bootstrap;
15 14
 use Ajax\common\components\SimpleComponent;
16 15
 
17 16
 trait BootstrapComponentsTrait {
Please login to merge, or discard this patch.