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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user