Skip to content

Commit

Permalink
Make SimpleXMLElement method return types benevolent (when they retur…
Browse files Browse the repository at this point in the history
…n `static|null`)
  • Loading branch information
ondrejmirtes committed Dec 10, 2023
1 parent fe8d164 commit fb76c9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/functionMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -10517,9 +10517,9 @@
'SimpleXMLElement::__get' => ['static', 'name'=>'string'],
'SimpleXMLElement::__toString' => ['string'],
'SimpleXMLElement::addAttribute' => ['void', 'name'=>'string', 'value='=>'string', 'ns='=>'string'],
'SimpleXMLElement::addChild' => ['static|null', 'name'=>'string', 'value='=>'string|null', 'ns='=>'string|null'],
'SimpleXMLElement::addChild' => ['__benevolent<static|null>', 'name'=>'string', 'value='=>'string|null', 'ns='=>'string|null'],
'SimpleXMLElement::asXML' => ['string|bool', 'filename='=>'string'],
'SimpleXMLElement::attributes' => ['static|null', 'ns='=>'string', 'is_prefix='=>'bool'],
'SimpleXMLElement::attributes' => ['__benevolent<static|null>', 'ns='=>'string', 'is_prefix='=>'bool'],
'SimpleXMLElement::children' => ['__benevolent<static|null>', 'namespaceOrPrefix='=>'string|null', 'is_prefix='=>'bool'],
'SimpleXMLElement::count' => ['0|positive-int'],
'SimpleXMLElement::getDocNamespaces' => ['string[]|false', 'recursive='=>'bool', 'from_root='=>'bool'],
Expand Down

0 comments on commit fb76c9f

Please sign in to comment.