From b30c6975205b4b51e7d8c635f57d29b869220a9e Mon Sep 17 00:00:00 2001 From: phpstan-bot Date: Fri, 18 Oct 2024 00:19:10 +0000 Subject: [PATCH] Update stubs --- stubs/ext/dom/Dom/import_simplexml.php | 2 +- stubs/ext/dom/dom_import_simplexml.php | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/stubs/ext/dom/Dom/import_simplexml.php b/stubs/ext/dom/Dom/import_simplexml.php index 71ceb44d..a0971b33 100644 --- a/stubs/ext/dom/Dom/import_simplexml.php +++ b/stubs/ext/dom/Dom/import_simplexml.php @@ -4,6 +4,6 @@ #endif #[\Since('8.4')] -function import_simplexml(object $node): \Dom\Element +function import_simplexml(object $node): \Dom\Attr|\Dom\Element { } \ No newline at end of file diff --git a/stubs/ext/dom/dom_import_simplexml.php b/stubs/ext/dom/dom_import_simplexml.php index 248df889..d56acbc4 100644 --- a/stubs/ext/dom/dom_import_simplexml.php +++ b/stubs/ext/dom/dom_import_simplexml.php @@ -1,6 +1,12 @@