fix: ExceptionHandler:: must not be accessed before initialization

This commit is contained in:
Kévin Dunglas 2023-08-25 16:32:56 +02:00 committed by Jerry Ma
parent 42e5877a7f
commit dc12d4d982

View File

@ -6,7 +6,7 @@ namespace SPC\exception;
class ExceptionHandler
{
protected mixed $whoops;
protected mixed $whoops = null;
private static ?ExceptionHandler $obj = null;