From 40d435ffc10aaaf9a9a471598d149f9ae7dfdc7e Mon Sep 17 00:00:00 2001 From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> Date: Sun, 21 Apr 2024 08:28:15 +0000 Subject: [PATCH] drop removed parameter from error handler, fixes #4045 Closes #4045 Merge request studip/studip!2899 --- vendor/trails/src/dispatcher.php | 4 +--- vendor/trails/trails.php | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/vendor/trails/src/dispatcher.php b/vendor/trails/src/dispatcher.php index 59bf8d961c3..58f55b1b89a 100644 --- a/vendor/trails/src/dispatcher.php +++ b/vendor/trails/src/dispatcher.php @@ -255,14 +255,12 @@ class Trails_Dispatcher { * @param string the error message * @param string the filename that the error was raised in * @param integer the line number the error was raised at - * @param array an array of every variable that existed in the scope the - * error was triggered in * * @throws Trails_Exception * * @return void */ - function error_handler($errno, $string, $file, $line, $context) { + function error_handler($errno, $string, $file, $line) { if (!(5888 & $errno)) { return false; } diff --git a/vendor/trails/trails.php b/vendor/trails/trails.php index b88a4a90cd1..96b9562da07 100644 --- a/vendor/trails/trails.php +++ b/vendor/trails/trails.php @@ -283,14 +283,12 @@ class Trails_Dispatcher { * @param string the error message * @param string the filename that the error was raised in * @param integer the line number the error was raised at - * @param array an array of every variable that existed in the scope the - * error was triggered in * * @throws Trails_Exception * * @return void */ - function error_handler($errno, $string, $file, $line, $context) { + function error_handler($errno, $string, $file, $line) { if (!(5888 & $errno)) { return false; } -- GitLab