You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Tracy/Debugger/Debugger.php
+58-64Lines changed: 58 additions & 64 deletions
Original file line number
Diff line number
Diff line change
@@ -27,71 +27,70 @@ class Debugger
27
27
28
28
publicconstCOOKIE_SECRET = 'tracy-debug';
29
29
30
-
/** @var bool in production mode is suppressed any debugging output */
31
-
publicstatic$productionMode = self::DETECT;
30
+
/** in production mode is suppressed any debugging output */
31
+
publicstatic?bool$productionMode = self::DETECT;
32
32
33
-
/** @var bool whether to display debug bar in development mode */
34
-
publicstatic$showBar = true;
33
+
/** whether to display debug bar in development mode */
34
+
publicstaticbool$showBar = true;
35
35
36
-
/** @var int size of reserved memory */
37
-
publicstatic$reservedMemorySize = 500000;
36
+
/** size of reserved memory */
37
+
publicstaticint$reservedMemorySize = 500000;
38
38
39
-
/** @var bool */
40
-
privatestatic$enabled = false;
39
+
privatestaticbool$enabled = false;
41
40
42
-
/** @var string|null reserved memory; also prevents double rendering */
43
-
privatestatic$reserved;
41
+
/** reserved memory; also prevents double rendering */
42
+
privatestatic?string$reserved = null;
44
43
45
-
/** @var int initial output buffer level */
46
-
privatestatic$obLevel;
44
+
/** initial output buffer level */
45
+
privatestaticint$obLevel;
47
46
48
-
/** @var ?array output buffer status @internal */
49
-
publicstatic$obStatus;
47
+
/** output buffer status @internal */
48
+
publicstatic?array$obStatus = null;
50
49
51
50
/********************* errors and exceptions reporting ****************d*g**/
52
51
53
-
/** @var bool|int determines whether any error will cause immediate death in development mode; if integer that it's matched against error severity */
54
-
publicstatic$strictMode = false;
52
+
/** determines whether any error will cause immediate death in development mode; if integer that it's matched against error severity */
53
+
publicstaticbool|int$strictMode = false;
55
54
56
-
/** @var bool|int disables the @ (shut-up) operator so that notices and warnings are no longer hidden; if integer than it's matched against error severity */
57
-
publicstatic$scream = false;
55
+
/** disables the @ (shut-up) operator so that notices and warnings are no longer hidden; if integer than it's matched against error severity */
56
+
publicstaticbool|int$scream = false;
58
57
59
58
/** @var callable[] functions that are automatically called after fatal error */
0 commit comments