mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
simplexml callmap update (#723)
* simplexml callmap update fixes vimeo/psalm#722 and includes a number of manual updates to simplexml function/method signatures (based on php.net docs) * minor fixes - s/qname/name/ - explicit void return type for `SimpleXMLElement::addAttribute()`
This commit is contained in:
parent
2968882ac5
commit
2afe364ee0
@ -9955,25 +9955,25 @@ return [
|
||||
'signeurlpaiement' => ['string', 'clent'=>'string', 'data'=>'string'],
|
||||
'similar_text' => ['int', 'str1'=>'string', 'str2'=>'string', '&w_percent='=>'float'],
|
||||
'simplexml_import_dom' => ['SimpleXMLElement|false', 'node'=>'DOMNode', 'class_name='=>'string'],
|
||||
'simplexml_load_file' => ['SimpleXMLElement', 'filename'=>'string', 'class_name='=>'string', 'options='=>'int', 'ns='=>'string', 'is_prefix='=>'bool'],
|
||||
'simplexml_load_string' => ['SimpleXMLElement', 'data'=>'string', 'class_name='=>'string', 'options='=>'int', 'ns='=>'string', 'is_prefix='=>'bool'],
|
||||
'simplexml_load_file' => ['SimpleXMLElement|false', 'filename'=>'string', 'class_name='=>'string', 'options='=>'int', 'ns='=>'string', 'is_prefix='=>'bool'],
|
||||
'simplexml_load_string' => ['SimpleXMLElement|false', 'data'=>'string', 'class_name='=>'string', 'options='=>'int', 'ns='=>'string', 'is_prefix='=>'bool'],
|
||||
'SimpleXMLElement::__construct' => ['void', 'data'=>'string', 'options='=>'int', 'data_is_url='=>'bool', 'ns='=>'string', 'is_prefix='=>'bool'],
|
||||
'SimpleXMLElement::__toString' => ['string'],
|
||||
'SimpleXMLElement::addAttribute' => ['', 'qname'=>'string', 'value'=>'string', 'ns='=>'string'],
|
||||
'SimpleXMLElement::addChild' => ['SimpleXMLElement', 'qname'=>'string', 'value='=>'string', 'ns='=>'string'],
|
||||
'SimpleXMLElement::asXML' => ['string|false', 'filename='=>'string'],
|
||||
'SimpleXMLElement::attributes' => ['array', 'ns='=>'string', 'is_prefix='=>'bool'],
|
||||
'SimpleXMLElement::addAttribute' => ['void', 'name'=>'string', 'value='=>'string', 'ns='=>'string'],
|
||||
'SimpleXMLElement::addChild' => ['SimpleXMLElement', 'name'=>'string', 'value='=>'string', 'ns='=>'string'],
|
||||
'SimpleXMLElement::asXML' => ['string|bool', 'filename='=>'string'],
|
||||
'SimpleXMLElement::attributes' => ['SimpleXMLElement|null', 'ns='=>'string', 'is_prefix='=>'bool'],
|
||||
'SimpleXMLElement::children' => ['SimpleXMLElement', 'ns='=>'string', 'is_prefix='=>'bool'],
|
||||
'SimpleXMLElement::count' => ['int'],
|
||||
'SimpleXMLElement::getDocNamespaces' => ['string[]', 'recursive='=>'bool', 'from_root='=>'bool'],
|
||||
'SimpleXMLElement::getName' => ['string'],
|
||||
'SimpleXMLElement::getNamespaces' => ['string[]', 'recursve='=>'bool'],
|
||||
'SimpleXMLElement::getNamespaces' => ['string[]', 'recursive='=>'bool'],
|
||||
'SimpleXMLElement::registerXPathNamespace' => ['bool', 'prefix'=>'string', 'ns'=>'string'],
|
||||
'SimpleXMLElement::xpath' => ['array', 'path'=>'string'],
|
||||
'SimpleXMLIterator::current' => ['SimpleXMLIterator'],
|
||||
'SimpleXMLElement::xpath' => ['SimpleXMLElement[]|false', 'path'=>'string'],
|
||||
'SimpleXMLIterator::current' => ['SimpleXMLIterator|null'],
|
||||
'SimpleXMLIterator::getChildren' => ['SimpleXMLIterator'],
|
||||
'SimpleXMLIterator::hasChildren' => ['bool'],
|
||||
'SimpleXMLIterator::key' => ['string'],
|
||||
'SimpleXMLIterator::key' => ['string|false'],
|
||||
'SimpleXMLIterator::next' => ['void'],
|
||||
'SimpleXMLIterator::rewind' => ['void'],
|
||||
'SimpleXMLIterator::valid' => ['bool'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user