Skip to content

Commit 200641e

Browse files
VincentLangletondrejmirtes
authored andcommitted
Fix DomDocument load return type
1 parent b3622a1 commit 200641e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/functionMap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,10 +1914,10 @@
19141914
'DOMDocument::getElementsByTagName' => ['DOMNodeList', 'name'=>'string'],
19151915
'DOMDocument::getElementsByTagNameNS' => ['DOMNodeList', 'namespaceuri'=>'string', 'localname'=>'string'],
19161916
'DOMDocument::importNode' => ['DOMNode', 'importednode'=>'DOMNode', 'deep='=>'bool'],
1917-
'DOMDocument::load' => ['mixed', 'filename'=>'string', 'options='=>'int'],
1917+
'DOMDocument::load' => ['bool', 'filename'=>'string', 'options='=>'int'],
19181918
'DOMDocument::loadHTML' => ['bool', 'source'=>'string', 'options='=>'int'],
19191919
'DOMDocument::loadHTMLFile' => ['bool', 'filename'=>'string', 'options='=>'int'],
1920-
'DOMDocument::loadXML' => ['mixed', 'source'=>'string', 'options='=>'int'],
1920+
'DOMDocument::loadXML' => ['bool', 'source'=>'string', 'options='=>'int'],
19211921
'DOMDocument::normalizeDocument' => ['void'],
19221922
'DOMDocument::registerNodeClass' => ['bool', 'baseclass'=>'string', 'extendedclass'=>'string'],
19231923
'DOMDocument::relaxNGValidate' => ['bool', 'filename'=>'string'],

0 commit comments

Comments
 (0)