Skip to content

Commit 1af1f3c

Browse files
committed
Fix DOMDocument::create*() return types
1 parent 9c81a80 commit 1af1f3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/functionMap.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,10 +1903,10 @@
19031903
'DOMDocument::createCDATASection' => ['DOMCDATASection', 'data'=>'string'],
19041904
'DOMDocument::createComment' => ['DOMComment', 'data'=>'string'],
19051905
'DOMDocument::createDocumentFragment' => ['DOMDocumentFragment'],
1906-
'DOMDocument::createElement' => ['DOMElement', 'name'=>'string', 'value='=>'string'],
1907-
'DOMDocument::createElementNS' => ['DOMElement', 'namespaceuri'=>'string', 'qualifiedname'=>'string', 'value='=>'string'],
1908-
'DOMDocument::createEntityReference' => ['DOMEntityReference', 'name'=>'string'],
1909-
'DOMDocument::createProcessingInstruction' => ['DOMProcessingInstruction', 'target'=>'string', 'data='=>'string'],
1906+
'DOMDocument::createElement' => ['DOMElement|false', 'name'=>'string', 'value='=>'string'],
1907+
'DOMDocument::createElementNS' => ['DOMElement|false', 'namespaceuri'=>'string', 'qualifiedname'=>'string', 'value='=>'string'],
1908+
'DOMDocument::createEntityReference' => ['DOMEntityReference|false', 'name'=>'string'],
1909+
'DOMDocument::createProcessingInstruction' => ['DOMProcessingInstruction|false', 'target'=>'string', 'data='=>'string'],
19101910
'DOMDocument::createTextNode' => ['DOMText', 'content'=>'string'],
19111911
'DOMDocument::getElementById' => ['DOMElement|null', 'elementid'=>'string'],
19121912
'DOMDocument::getElementsByTagName' => ['DOMNodeList', 'name'=>'string'],

0 commit comments

Comments
 (0)