diff options
| author | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2024-04-21 08:28:15 +0000 |
|---|---|---|
| committer | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2024-04-21 08:28:15 +0000 |
| commit | 40d435ffc10aaaf9a9a471598d149f9ae7dfdc7e (patch) | |
| tree | 8bd3ea3b663d9bbecd1a52d47df28f866dfd8a28 /vendor | |
| parent | 5dd5dbd5a112affa1bbcc81947ba9a249c86a957 (diff) | |
drop removed parameter from error handler, fixes #4045
Closes #4045
Merge request studip/studip!2899
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/trails/src/dispatcher.php | 4 | ||||
| -rw-r--r-- | 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 59bf8d9..58f55b1 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 b88a4a9..96b9562 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; } |
