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
1010 private $ log ;
1111 private $ timeStarted ;
1212 private $ timeFinished ;
13- private static $ reservedMemory ;
13+ protected $ reservedMemory ;
1414
1515 public function __construct ()
1616 {
@@ -40,10 +40,10 @@ public function report(Exception $e)
4040 private function registerShutdownFunction ()
4141 {
4242 $ this ->timeStarted = microtime (true );
43- self :: $ reservedMemory = str_repeat (' ' , 20 * 1024 );
43+ $ this -> reservedMemory = str_repeat (' ' , 20 * 1024 );
4444
4545 register_shutdown_function (function () {
46- self :: $ reservedMemory = null ;
46+ $ this -> reservedMemory = null ;
4747
4848 $ this ->timeFinished = microtime (true );
4949 $ executionTime = round ($ this ->timeFinished - $ this ->timeStarted , 3 );
You can’t perform that action at this time.
0 commit comments