1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Merge pull request #146 from vimeo/simplexmlelement-asxml

`SimpleXMLElement::asXML` returns a `string|boolean`.
This commit is contained in:
Matthew Brown 2017-04-22 19:41:16 -04:00 committed by GitHub
commit 9ea80b5ef8

View File

@ -8062,7 +8062,7 @@ return [
'similar_text' => ['int', 'str1'=>'string', 'str2'=>'string', 'percent='=>'float'],
'SimpleXMLElement::addAttribute' => ['', 'qname'=>'string', 'value'=>'string', 'ns='=>'string'],
'SimpleXMLElement::addChild' => ['SimpleXMLElement', 'qname'=>'string', 'value='=>'string', 'ns='=>'string'],
'SimpleXMLElement::asXML' => ['string', 'filename='=>'string'],
'SimpleXMLElement::asXML' => ['string|boolean', 'filename='=>'string'],
'SimpleXMLElement::attributes' => ['array', 'ns='=>'string', 'is_prefix='=>'bool'],
'SimpleXMLElement::children' => ['SimpleXMLElement', 'ns='=>'string', 'is_prefix='=>'bool'],
'SimpleXMLElement::__construct' => ['SimpleXMLElement', 'data'=>'string', 'options='=>'int', 'data_is_url='=>'bool', 'ns='=>'string', 'is_prefix='=>'bool'],