Skip to content

Commit

Permalink
Merge pull request #5073 from Deltik/fix/5072
Browse files Browse the repository at this point in the history
install.php: PHP 8.2 exception handler signature compatibility
  • Loading branch information
CaMer0n authored Sep 12, 2023
2 parents 86ff4d6 + c6401ff commit 7394a6c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 7394a6c

Please sign in to comment.