1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 05:37:32 +02:00

Merge pull request #5073 from Deltik/fix/5072

install.php: PHP 8.2 exception handler signature compatibility
This commit is contained in:
Cameron
2023-09-12 08:23:41 -07:00
committed by GitHub

View File

@@ -48,7 +48,11 @@ class installLog
const logFile = "e107Install.log";
static function exceptionHandler(Exception $exception)
/**
* @param Throwable $exception
* @return void
*/
static function exceptionHandler($exception)
{
$message = $exception->getMessage();
self::add($message, "error");