Core composer packages update
This commit is contained in:
@@ -471,13 +471,13 @@ class DOMDocument extends DOMNode implements DOMParentNode
|
||||
public function importNode(DOMNode $node, bool $deep = false) {}
|
||||
|
||||
/**
|
||||
* @return DOMDocument|false
|
||||
* @return bool
|
||||
* @psalm-ignore-falsable-return
|
||||
**/
|
||||
public function load(string $filename, int $options = 0) {}
|
||||
|
||||
/**
|
||||
* @return DOMDocument|false
|
||||
* @return bool
|
||||
* @psalm-ignore-falsable-return
|
||||
*/
|
||||
public function loadXML(string $source, int $options = 0) {}
|
||||
@@ -492,10 +492,10 @@ class DOMDocument extends DOMNode implements DOMParentNode
|
||||
*/
|
||||
public function save(string $filename, int $options = 0) {}
|
||||
|
||||
/** @return DOMDocument|bool */
|
||||
/** @return bool */
|
||||
public function loadHTML(string $source, int $options = 0) {}
|
||||
|
||||
/** @return DOMDocument|bool */
|
||||
/** @return bool */
|
||||
public function loadHTMLFile(string $filename, int $options = 0) {}
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,6 +25,7 @@ function simplexml_import_dom(SimpleXMLElement|DOMNode $node, ?string $class_nam
|
||||
|
||||
/**
|
||||
* @implements Traversable<string, SimpleXMLElement>
|
||||
* @psalm-no-seal-properties
|
||||
*/
|
||||
class SimpleXMLElement implements Traversable, Countable
|
||||
{
|
||||
@@ -63,6 +64,8 @@ class SimpleXMLElement implements Traversable, Countable
|
||||
public function __toString(): string {}
|
||||
|
||||
public function count(): int {}
|
||||
|
||||
public function __get(string $name): SimpleXMLElement|SimpleXMLIterator|null {}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user