Test Failed
Push — master ( 0ec979...014002 )
by Federico
01:54
created
dist/jate/modules/Debug/Debug.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -10,23 +10,23 @@  discard block
 block discarded – undo
10 10
       self::$stack = [];
11 11
       self::$initialized = true;
12 12
     }
13
-    private static function out( $_object ) {
14
-      if(is_object($_object)) {
13
+    private static function out($_object) {
14
+      if (is_object($_object)) {
15 15
         echo "isObject";
16
-      } else if(is_array($_object)) {
16
+      } else if (is_array($_object)) {
17 17
         arrayDump($_object, "Debug");
18 18
       } else {
19 19
         echo $_object;
20 20
       }
21 21
     }
22
-    public static function log( $_object ) {
22
+    public static function log($_object) {
23 23
       self::out(["error" => $_object]);
24 24
     }
25
-    public static function logln( $_object ) {
25
+    public static function logln($_object) {
26 26
       self::log($_object);
27 27
       self::out("<br>");
28 28
     }
29
-    public static function logStack( $_object ) {
29
+    public static function logStack($_object) {
30 30
       self::out([
31 31
         "position" => self::$stack,
32 32
         "error" => $_object
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
       self::$stack[] = $debugInfo;
45 45
     }
46 46
     public static function pop() {
47
-      if(count(self::$stack)>0)
47
+      if (count(self::$stack) > 0)
48 48
         array_shift(self::$stack);
49 49
     }
50 50
     public static function emptyStack() {
Please login to merge, or discard this patch.