Passed
Branch master (fa28f5)
by Jens
02:20
created
library/cc/Application.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 		 * Loop through sitemap items and see if one matches the requestUri.
85 85
 		 * If it does, add it tot the matchedSitemapItems array
86 86
 		 *
87
-		 * @param $request
87
+		 * @param Request $request
88 88
 		 */
89 89
 		private function sitemapMatching($request)
90 90
 		{
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 		 * @param string $template
147 147
 		 * @param array  $parameters
148 148
 		 *
149
-		 * @return mixed
149
+		 * @return \library\components\Component
150 150
 		 * @throws \Exception
151 151
 		 */
152 152
 		private function getComponentObject($class='', $template='', $parameters=array())
Please login to merge, or discard this patch.
library/cc/cc.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
  * Dumps a var_dump of the passed arguments with <pre> tags surrounding it.
30 30
  * Dies afterwards
31 31
  *
32
- * @param mixed $data    The data to be displayed
33 32
  */
34 33
 function dump()
35 34
 {
Please login to merge, or discard this patch.
library/components/Component.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@
 block discarded – undo
17 17
 		 * @param                     $template
18 18
 		 * @param Request $request
19 19
 		 * @param                     $parameters
20
+		 * @return void
20 21
 		 */
21 22
 		function __construct($template, Request $request, $parameters);
22 23
 
Please login to merge, or discard this patch.
library/cc/errorhandler.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	$error = error_get_last(); 
34 34
     if (isset($error['type'], $error['message'], $error['file'], $error['line'])) { 
35 35
         errorHandler($error['type'],$error['message'],$error['file'],$error['line']);
36
-    }elseif ($error['type'] == 1) {
36
+    } elseif ($error['type'] == 1) {
37 37
         dump($error);
38 38
     }
39 39
 }
@@ -94,7 +94,9 @@  discard block
 block discarded – undo
94 94
             $lines[$line_number] = $file_lines[$line_number-1];
95 95
         }
96 96
     }
97
-	if (ob_get_contents()) ob_end_clean();
97
+	if (ob_get_contents()) {
98
+		ob_end_clean();
99
+	}
98 100
 	$error = array(
99 101
 		'message' 		=> $message,
100 102
 		'file' 			=> $file,
Please login to merge, or discard this patch.