File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class ExceptionHandler extends Handler
10
10
private $ log ;
11
11
private $ timeStarted ;
12
12
private $ timeFinished ;
13
- private static $ reservedMemory ;
13
+ protected $ reservedMemory ;
14
14
15
15
public function __construct ()
16
16
{
@@ -40,10 +40,10 @@ public function report(Exception $e)
40
40
private function registerShutdownFunction ()
41
41
{
42
42
$ this ->timeStarted = microtime (true );
43
- self :: $ reservedMemory = str_repeat (' ' , 20 * 1024 );
43
+ $ this -> reservedMemory = str_repeat (' ' , 20 * 1024 );
44
44
45
45
register_shutdown_function (function () {
46
- self :: $ reservedMemory = null ;
46
+ $ this -> reservedMemory = null ;
47
47
48
48
$ this ->timeFinished = microtime (true );
49
49
$ executionTime = round ($ this ->timeFinished - $ this ->timeStarted , 3 );
You can’t perform that action at this time.
0 commit comments