From 41c448e85d0db5d8495cfd5c6ddd2c796d813110 Mon Sep 17 00:00:00 2001 From: Philippe Villiers Date: Sat, 29 Jan 2022 11:12:04 +0100 Subject: [PATCH] Fix DOMDocument::saveXML signature --- resources/functionMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/functionMap.php b/resources/functionMap.php index af5afebd1d..06e4c5063a 100644 --- a/resources/functionMap.php +++ b/resources/functionMap.php @@ -1921,7 +1921,7 @@ 'DOMDocument::registerNodeClass' => ['bool', 'baseclass'=>'string', 'extendedclass'=>'string'], 'DOMDocument::relaxNGValidate' => ['bool', 'filename'=>'string'], 'DOMDocument::relaxNGValidateSource' => ['bool', 'source'=>'string'], -'DOMDocument::save' => ['int', 'filename'=>'string', 'options='=>'int'], +'DOMDocument::save' => ['int|false', 'filename'=>'string', 'options='=>'int'], 'DOMDocument::saveHTML' => ['string|false', 'node='=>'?DOMNode'], 'DOMDocument::saveHTMLFile' => ['int|false', 'filename'=>'string'], 'DOMDocument::saveXML' => ['string|false', 'node='=>'?DOMNode', 'options='=>'int'],