mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
File: Fix ErrorException::__construct()'s parameters
This commit is contained in:
parent
d475ccd569
commit
a2772a17a7
@ -131,7 +131,7 @@ class File extends SplFileObject
|
|||||||
set_error_handler(
|
set_error_handler(
|
||||||
function ($errno, $errstr, $errfile, $errline) {
|
function ($errno, $errstr, $errfile, $errline) {
|
||||||
restore_error_handler();
|
restore_error_handler();
|
||||||
throw new ErrorException($errno, $errstr, $errfile, $errline);
|
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
|
||||||
},
|
},
|
||||||
E_WARNING
|
E_WARNING
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user