Page MenuHomeDevCentral

D3777.diff
No OneTemporary

D3777.diff

diff --git a/workspaces/src/includes/error.php b/workspaces/src/includes/error.php
--- a/workspaces/src/includes/error.php
+++ b/workspaces/src/includes/error.php
@@ -44,14 +44,16 @@
/**
* A callback method for the error handler, which throws exceptions on errors
*
- * @param int $errno the level of the error raised
- * @param string $errstr the error message
+ * @param int $errno the level of the error raised
+ * @param string $errstr the error message
* @param string $errfile the filename that the error was raised in
- * @param int $errline the line number the error was raised at
- * @param string $errcontext an array that points to the active symbol table at the point the error occurred
- * @return boolean true when the error has been handled ; otherwise, false, to let the normal error handler continues.
+ * @param int $errline the line number the error was raised at
+ *
+ * @return boolean true when the error has been handled ; otherwise, false,
+ * to let the normal error handler continues.
+ * @throws \ErrorException
*/
-function throwExceptionErrorHandler ($errno, $errstr, $errfile, $errline, array $errcontext) {
+function throwExceptionErrorHandler (int $errno, string $errstr, string $errfile, int $errline) : bool {
if (error_reporting() === 0) {
return false;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 22, 23:57 (14 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3097473
Default Alt Text
D3777.diff (1 KB)

Event Timeline