Passed
Branch master (a25af9)
by Federico
02:36
created
dist/jate/functions/array.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -11,6 +11,10 @@
 block discarded – undo
11 11
 	function arrayHtmlParser($_array) {
12 12
 		return travelStringArray($_array,"htmlParser");
13 13
 	}
14
+
15
+	/**
16
+	 * @param string $_function
17
+	 */
14 18
 	function travelStringArray ( $_array, $_function ) {
15 19
 		if (is_array($_array)) {
16 20
 			foreach ($_array as $k => $v) {
Please login to merge, or discard this patch.
dist/jate/functions/folder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -17,6 +17,10 @@
 block discarded – undo
17 17
 		});
18 18
 		return $temp;
19 19
 	}
20
+
21
+	/**
22
+	 * @param Closure $_function
23
+	 */
20 24
 	function fetchInSubFolder( $_dir = "./", $_function) {
21 25
 		$temp = [];
22 26
 		if (is_dir($_dir)) {
Please login to merge, or discard this patch.
dist/jate/functions/query.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -2,6 +2,10 @@
 block discarded – undo
2 2
 	function q_query( $_database, $_query, $_error ) {
3 3
 		return std_query( $_database, $_query, $_error, $temp );
4 4
 	}
5
+
6
+	/**
7
+	 * @param string $_error
8
+	 */
5 9
 	function c_query( $_query, $_error ) {
6 10
 		global $connection;
7 11
 		return q_query( $connection->database, $_query, $_error );
Please login to merge, or discard this patch.
dist/jate/functions/requirer.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -1,4 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2
+	/**
3
+	 * @param string $_path
4
+	 * @param integer $_stack
5
+	 */
2 6
 	function requireComponent( $_path, $_local = true, $_stack = null ) {
3 7
 		$path = getJFolder($_path, $_local, debug_backtrace());
4 8
 		if(file_exists($path) && isPhp($path))
@@ -6,6 +10,11 @@  discard block
 block discarded – undo
6 10
 		else
7 11
 			requireError($_path);
8 12
 	}
13
+
14
+	/**
15
+	 * @param string $_path
16
+	 * @param integer $_stack
17
+	 */
9 18
 	function requireComponents( $_path, $_local = true, $_stack = null ) {
10 19
 		$path = getJFolder($_path, $_local, debug_backtrace());
11 20
 		if(file_exists($path)) {
@@ -34,10 +43,18 @@  discard block
 block discarded – undo
34 43
 			requireComponents($path."/".$i, false, 0);
35 44
 		}
36 45
 	}
46
+
47
+	/**
48
+	 * @param integer $_stack
49
+	 */
37 50
 	function jRequire( $_path, $_local = true, $_stack = null ) {
38 51
 		$path = getJFolder($_path, $_local, debug_backtrace());
39 52
 		require_once( $path );
40 53
 	}
54
+
55
+	/**
56
+	 * @param boolean $_local
57
+	 */
41 58
 	function getJFolder( $_path, $_local, $_stack ) {
42 59
 		if($_local) {
43 60
 			$stackInfo = $_stack;
Please login to merge, or discard this patch.
dist/jate/modules/GUI/GUI.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -11,6 +11,10 @@
 block discarded – undo
11 11
 			$render = $this->overlayTag($page);
12 12
 			echo minify_output($render);
13 13
 		}
14
+
15
+		/**
16
+		 * @param string $_page
17
+		 */
14 18
 		protected function overlayTag( $_page ) {
15 19
 			foreach($this->data as $key => $value) {
16 20
 				$_page = str_replace("<_".$key."_>", "$value", $_page);
Please login to merge, or discard this patch.
dist/jate/modules/Module/Module.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -35,6 +35,10 @@  discard block
 block discarded – undo
35 35
 		public function addModule( $_mod ) {
36 36
 			$this->modules[$_mod->name] = $_mod;
37 37
 		}
38
+
39
+		/**
40
+		 * @param string[] $_files
41
+		 */
38 42
 		public function addFiles( $_files ) {
39 43
 			foreach ($_files as $value)
40 44
 				$this->addFile($value);
@@ -47,6 +51,11 @@  discard block
 block discarded – undo
47 51
 			$this->data["js"] = $this->getJs();
48 52
 			$this->data["jsVariables"] = $this->getJsVariables();
49 53
 		}
54
+
55
+		/**
56
+		 * @param string $_function
57
+		 * @param string $_extenction
58
+		 */
50 59
 		protected function getRequire( $_function, $_extenction) {
51 60
 			$temp = [];
52 61
 			foreach ($this->modules as $i)
Please login to merge, or discard this patch.