Test Failed
Push — master ( e06943...75ce46 )
by Federico
02:37
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/requirer.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -1,4 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2
+	/**
3
+	 * @param string $_path
4
+	 */
2 5
 	function requireComponent( $_path, $_local = true ) {
3 6
 		$path = getJFolder($_path, $_local, debug_backtrace());
4 7
 		if(file_exists($path) && isPhp($path))
@@ -6,6 +9,10 @@  discard block
 block discarded – undo
6 9
 		else
7 10
 			requireError($_path);
8 11
 	}
12
+
13
+	/**
14
+	 * @param string $_path
15
+	 */
9 16
 	function requireComponents( $_path, $_local = true ) {
10 17
 		$path = getJFolder($_path, $_local, debug_backtrace());
11 18
 		if(file_exists($path)) {
@@ -38,6 +45,10 @@  discard block
 block discarded – undo
38 45
 		$path = getJFolder($_path, $_local, debug_backtrace());
39 46
 		require_once( $path );
40 47
 	}
48
+
49
+	/**
50
+	 * @param boolean $_local
51
+	 */
41 52
 	function getJFolder( $_path, $_local, $_stack ) {
42 53
 		if($_local) {
43 54
 			$stackInfo = $_stack;
Please login to merge, or discard this patch.
dist/jate/modules/Parsedown/Parsedown.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -9,6 +9,10 @@
 block discarded – undo
9 9
 		public function drawFile( $_template ) {
10 10
 			return $this->draw($_template);
11 11
 		}
12
+
13
+		/**
14
+		 * @param string $_template
15
+		 */
12 16
 		public function drawText( $_template ) {
13 17
 			return $this->draw(trim($_template));
14 18
 		}
Please login to merge, or discard this patch.
dist/jate/functions/block.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 		return jBlockFileMan($_path, $extension, $_parameters);
17 17
 	}
18 18
 
19
+	/**
20
+	 * @param string $_type
21
+	 */
19 22
 	function jBlockFileMan( $_path, $_type, $_parameters = [] ) {
20 23
 		$temp = file_get_contents($_path);
21 24
 		return jBlockParsing($_type, $temp, $_parameters);
Please login to merge, or discard this patch.
dist/jate/modules/Pug/Pug.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -8,6 +8,10 @@
 block discarded – undo
8 8
 		public function drawFile( $_file, $_parameters = [] ) {
9 9
 			return $this->draw($_file, $_parameters);
10 10
 		}
11
+
12
+		/**
13
+		 * @param string $_text
14
+		 */
11 15
 		public function drawText( $_text, $_parameters = [] ) {
12 16
 			return $this->draw(trim($_text), $_parameters);
13 17
 		}
Please login to merge, or discard this patch.
dist/jate/modules/Twig/Twig.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -14,6 +14,10 @@
 block discarded – undo
14 14
 			$page = $template->render($_parameters);
15 15
 			return $page;
16 16
 		}
17
+
18
+		/**
19
+		 * @param string $_text
20
+		 */
17 21
 		public function drawText( $_text, $_parameters = [] ) {
18 22
 			$loader = new Twig_Loader_Array([
19 23
 				'index' => $_text
Please login to merge, or discard this patch.
dist/jate/modules/Module/Module.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -39,6 +39,10 @@  discard block
 block discarded – undo
39 39
 					array_push($temp,$i);
40 40
 			return $temp;
41 41
 		}
42
+
43
+		/**
44
+		 * @param string $_mods
45
+		 */
42 46
 		public function addModules( $_mods ) {
43 47
 			if(!is_array($_mods))
44 48
 				throw new InvalidArgumentException("Parameter must be an array.");
@@ -64,6 +68,10 @@  discard block
 block discarded – undo
64 68
 				throw new InvalidArgumentException("Parameter must be a string.");
65 69
 			array_push($this->files, $_file);
66 70
 		}
71
+
72
+		/**
73
+		 * @param string $_files
74
+		 */
67 75
 		public function addFilesRequired( $_files ) {
68 76
 			if(!is_array($_files))
69 77
 				throw new InvalidArgumentException("Parameter must be an array.");
@@ -80,6 +88,11 @@  discard block
 block discarded – undo
80 88
 			$this->tags["js"] = $this->getJs();
81 89
 			$this->tags["jsVariables"] = $this->getJsVariables();
82 90
 		}
91
+
92
+		/**
93
+		 * @param string $_function
94
+		 * @param string $_extenction
95
+		 */
83 96
 		protected function getRequire( $_function, $_extenction) {
84 97
 			$temp = [];
85 98
 			foreach ($this->required as $i)
Please login to merge, or discard this patch.