From dc12d4d982fb125ded3eed2bb7a159b78753648a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Fri, 25 Aug 2023 16:32:56 +0200 Subject: [PATCH] fix: ExceptionHandler:: must not be accessed before initialization --- src/SPC/exception/ExceptionHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPC/exception/ExceptionHandler.php b/src/SPC/exception/ExceptionHandler.php index f4bebbf1..544575dc 100644 --- a/src/SPC/exception/ExceptionHandler.php +++ b/src/SPC/exception/ExceptionHandler.php @@ -6,7 +6,7 @@ namespace SPC\exception; class ExceptionHandler { - protected mixed $whoops; + protected mixed $whoops = null; private static ?ExceptionHandler $obj = null;