Skip to content

Commit 0c20603

Browse files
authored
Compatibility with PHP 8 (#9)
1 parent 425c82a commit 0c20603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Quip.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static public function formatter($settings = NULL) {
3333
* @return \QuipXml\Xml\QuipXmlElement
3434
*/
3535
static public function load($source, $options = 0, $data_is_url = FALSE, $ns = '', $is_prefix = FALSE, $quip_options = 0) {
36-
set_error_handler(function ($errno, $errstr, $errfile, $errline, $errcontext) {
36+
set_error_handler(function ($errno, $errstr, $errfile, $errline) {
3737
throw new \ErrorException($errstr, $errno);
3838
}, E_WARNING);
3939
$error_reporting_level = error_reporting();

0 commit comments

Comments
 (0)