Passed
Branch master (fa28f5)
by Jens
02:20
created
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.