@@ -5,8 +5,9 @@ discard block |
||
5 | 5 | private static $initialized = false; |
6 | 6 | private function __construct() {} |
7 | 7 | private static function initialize() { |
8 | - if (self::$initialized) |
|
9 | - return; |
|
8 | + if (self::$initialized) { |
|
9 | + return; |
|
10 | + } |
|
10 | 11 | self::$stack = []; |
11 | 12 | self::$initialized = true; |
12 | 13 | } |
@@ -44,8 +45,9 @@ discard block |
||
44 | 45 | self::$stack[] = $debugInfo; |
45 | 46 | } |
46 | 47 | public static function pop() { |
47 | - if(count(self::$stack)>0) |
|
48 | - array_shift(self::$stack); |
|
48 | + if(count(self::$stack)>0) { |
|
49 | + array_shift(self::$stack); |
|
50 | + } |
|
49 | 51 | } |
50 | 52 | public static function emptyStack() { |
51 | 53 | self::$stack = []; |